- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
07-25-2018 09:35 AM - edited 07-25-2018 09:37 AM
Hi all,
I'm trying to use the mapping toolbox of the App Measurement tag template to implement a counter event. Contrary to more usual Adobe events (scAdd, event2,...) these ones are made of a key-value pair ("scAdd=12",...). My client's request is to send the value of a dataLayer variable (let's call it "variable1") through a counter event.
When {"variable1" : 123} the events key of the s object would be populated with "event1=123".
https://marketing.adobe.com/resources/help/en_US/sc/implement/events.html ("Counter events").
I've tried a lot of different mappings including value_events,serial_events,...
I'm using the 1.4.1 version of the library (and cannot update it right now).
Any clues ?
Thanks in advance, let me know if you need more info
Quentin
Solved! Go to Solution.
07-27-2018 07:17 AM
I think what you might be after is the u.addEvent method.
Documentation of it can be found here : https://community.tealiumiq.com/t5/Tags/Adobe-Analytics-SiteCatalyst-Tag-Setup-Guide-for-Tealium-iQ-...
Adrian
07-27-2018 08:13 AM
07-27-2018 08:14 AM
Hello @QuentinB
Based on my understanding, you want to send a value along with event. You can use the below approach to do that -
To send a UDO variable -
To send a static value: you can include the value along with the eventn, in the above example your js code will be
u.addEvent("event3:staticvalue")
Hope this helps and please let me know if you need more details
Thanks
07-27-2018 08:16 AM
Thanks too @mvenkatesan, I did exactly as your first screenshot showed (dynamizing the event value using a b variable)
Copyright All Rights Reserved © 2008-2023