- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
11-25-2019 01:27 AM
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).
Implementation #1 (the one that doesn't work)
Implementation #2 (the one that works)
Implementation #3 (possible solution if #1 is not a correct implementation)
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.
11-26-2019 03:45 AM
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,
Copyright All Rights Reserved © 2008-2023