Highlighted

We want to set a load rule based on a class appearing on a page, is this possible? Basicallyi want a load rule set up so that when "class='regthankyou'" appears on the page I can fire a doubleclick conversion tag.

 
1 REPLY 1
Highlighted

We want to set a load rule based on a class appearing on a page, is this possible? Basicallyi want a load rule set up so that when "class='regthankyou'" appears on the page I can fire a doubleclick conversion tag.

Tealium Employee
Hi Tim, This is possible, depending on your setup you have two choices available to you: 1. Using a Pre Loader extension you can check for the class in question and then add an attribute to your data layer . And then use this in your load rule. This is VERY dependant on when your pages loads compared to when Tealium is loaded onto the page. 2. This is the recommended approach, using the newer uTag versions v4.26 and above, you have the ability to suppress the initial page view and then re-evaluate the load rules when the page has loaded. This is done with the use of the window.utag_cfg_ovrd object. Details can be found here if you search for ".load_rules_at_wait". https://community.tealiumiq.com/series/10724/posts/726815 If you have any further questions please reach out to your Account Manager.