New UI for adding events in Adobe Analytics tag - does this eliminate need for u.addEvent?

Gold Contributor
Gold Contributor

New UI seems to show ability to map events based on a variable being set to a value.  How exactly does this work?  Does it replace using u.addEvent in extensions?

3 REPLIES 3

New UI for adding events in Adobe Analytics tag - does this eliminate need for u.addEvent?

Moderator
Moderator

Hi @patrick_heavey,

 

This feature has always been present; it's just that the UI has had a bit of a refresh. Basically, it says "if datasource x has value y, then set event Z"

 

u.addEvent can be used to do more complex operations such as serializing events with another data source (e.g. order ID), or sending custom values (e.g. currency).

 

I hope this makes sense.

 

Craig.

Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

New UI for adding events in Adobe Analytics tag - does this eliminate need for u.addEvent?

Bronze Contributor
Bronze Contributor

Hi @craig_rouse. What if the event just needs to be triggered when some variable exists or is not null (and not some specific value)?

 

For example, on our site the internal search keyword is passed via a query string parameter of "search" in the URL. I have a data layer variable in Tealium for "search_term" that is populated by the "search" query string parameter. I want Adobe Analytics event5 to fire anytime there is *ANY* value for "search_term", I don't want to specify that it only fires on specific values. Do I just leave the "Value" box blank?

New UI for adding events in Adobe Analytics tag - does this eliminate need for u.addEvent?

Employee Emeritus

Hi @halee_kotara,

With your use case, you would want to utilize the extension method where you call u.addEvent and you would have a condition that states your search term "is populated".  

 

The mapping toolbox's use of event mapping is a one to one.  The value of the variable must be exactly the same as in the mapping toolbox.  Having a blank value in the mapping toolbox would mean that the search term must be an empty string to fire the event.

 

Please let us know if you have any other questions.

 

Thanks!

Public