[TealiumIQ] - App Measurement Adobe template - Counter events

Silver Contributor
Silver Contributor

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

 

4 REPLIES 4

[TealiumIQ] - App Measurement Adobe template - Counter events

Tealium Employee

@QuentinB

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

Ask me anything Tealium related or TypeScript/JavaScript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.

[TealiumIQ] - App Measurement Adobe template - Counter events

Silver Contributor
Silver Contributor

Great, thanks a lot @adrian_browning !

[TealiumIQ] - App Measurement Adobe template - Counter events

Tealium Expert
Tealium Expert

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  - event_udovariable.png

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

[TealiumIQ] - App Measurement Adobe template - Counter events

Silver Contributor
Silver Contributor

Thanks too @mvenkatesan, I did exactly as your first screenshot showed (dynamizing the event value using a b variable)

Public