Fire Tag based on UDO value after click on a button

oscarmartinezm
Rookie Contributor
oscarmartinezm

Hi, 

I have to fire a Tag based on UDO value after click on a button. In this case, when the user clicks on the button I setup the UDO value which is used as condition by the Tag. I found a way to make it work, but it doesn't work for me due to scalability reasons.

I tried three different implementations (see screenshot below):

Implementation #1: is the one I would like to use, but it doesn't work. Is there something wrong in my configuration? or this not a correct way to make it work?

Implementation #2: is the one that worked, but is not good when I try to combine it with other Tag firing logic.

Implementation #3: probably is the solution to implement in this case. But I'm trying avoid to have 2 utag.link() calls (consider in real case I wouldn't know where second utag.link() will be called).

Tag configurationScreen Shot 2019-11-25 at 2.49.59 AM.png

Implementation #1 (the one that doesn't work)

Screen Shot 2019-11-25 at 3.07.29 AM.png

Implementation #2 (the one that works)

Screen Shot 2019-11-25 at 3.07.38 AM.png

Implementation #3 (possible solution if #1 is not a correct implementation)

Screen Shot 2019-11-25 at 3.24.43 AM.png

PS: the code you can see above is testing code, just to try the logic as simple as possible. But what I want to do is avoid to have a new utag.view() or utag.link(). Instead of that I want to let the next utag.view() or utag.link() executed by any other Tag fire the FloodLight Tag.

Thanks!

1 REPLY 1
Highlighted

Fire Tag based on UDO value after click on a button

Tealium Expert
Tealium Expert

Hi

Have you tried using this extension https://community.tealiumiq.com/t5/iQ-Tag-Management/jQuery-onHandler-Extension-jQuery-1-7-and-up/ta...

So on click you can set values? from there you can create a tag to look for those for values and map them,

Damian Savvides