- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Hi everybody,
I'm trying event serialization with the automatic detection of event serialization within the AppMeasurment tag. I have managed to get event serialization with a static value but I'd like to get it with a dynamic value.
First, I've mapped these variables in Tealium:
Then, I've included this variables in the utag.data (js)
var utag_data = {
"trigger": "fireEvt:123",
"serial":"",
"event": ["loadComplete", "visualizarPrecios"]
}
With this implementation, I'm able to serialize the event and I see this in the dataslayer:
However, "123" is an static value and I would like to do the same with a dynamic value.
Anyone could help me with this? How would I be able to map this in Tealium and insert this in the js?
Thank you very much for your help!
Best regards,
Patricia
Have you tried using value events in the mapping toolbox?
This will assign the value from the variable to the event. You do lose the ability to trigger on a specific value using this, but it will fire if the variable is populated.
This populates the events string with something like this:
(example is from a different site to the IQ screenshot, hence the difference in event number)
Yes, we can do event serialization with dynamic values. Below are the steps which I would recommend –
Hope this helps and let me know if you need further help.
Thanks,
Madhan
Just to add on to the excellent answers here...
The u.addEvent()
approach is documented in the Adobe Analytics Tag Setup Guide.
Copyright All Rights Reserved © 2008-2023