I have set a split segment between 2 tags.50% of the customers will be served with tag'A'and the remaining 50% with tag 'B'.This is working fine.Now I have to fire tag'A'on a button for the visitors who are served with split cookie A but not B. How can I

Bronze Contributor
Bronze Contributor
 
1 REPLY 1

I have set a split segment between 2 tags.50% of the customers will be served with tag'A'and the remaining 50% with tag 'B'.This is working fine.Now I have to fire tag'A'on a button for the visitors who are served with split cookie A but not B. How can I

Employee Emeritus

Hello Manohar As you know the split segmentation is setting a cookie so you know if the user is in Segment A or Segment B. If you are already using this cookie in a Load Rule, which I assume you are since your example above is working then we need to only focus on the button click. If your website developer is not calling the Tealium function utag.link when the user clicks on the button and your website has jQurey available, then you will want to add a Tealium jQuery on handler extension. You can read more about it here: https://community.tealiumiq.com/t5/Tealium-iQ/jQuery-onHandler-Extension-jQuery-v1-7-and-up/ta-p/986... This will trigger any tag that meets any of your load rules. Just make sure your tag template supports the link call as not all tags support it by default, read more about that here: https://community.tealiumiq.com/t5/Tealium-iQ/How-to-Check-if-a-Tag-will-Fire-on-View-or-Link-Calls/... If you only want to trigger a specific tag bypassing load rules, you can do so following the options in utag.link / utag.view here: https://community.tealiumiq.com/t5/utag/utag-link-and-utag-view/ta-p/11888 As always, if you need more detail, please respond to this thread and we will help as much as we can or reach out to your Account Manager to get a Tealium Engineer to look at your specific use case. Happy Tracking Brian

Public