02-03-2016 03:20 PM - last edited on 02-04-2016 10:06 AM by kathleen_jo
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.
03-17-2016 01:08 PM - last edited on 03-17-2016 02:46 PM by kathleen_jo
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?
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.