I want to fire a site cat tag on only certain pages but already have a load rule that excludes the whole site based on domain e.g. domain does not include www.site.co.uk.

Bronze Contributor
Bronze Contributor
 
4 REPLIES 4

I want to fire a site cat tag on only certain pages but already have a load rule that excludes the whole site based on domain e.g. domain does not include www.site.co.uk.

Gold Contributor
Gold Contributor
Hi Steve Try this, for the page you want to fire set a variable and value set for it in utag_data. e.g. pageType = "exception" Now modify the whole site exclude rule to include with "and" "pageType is not equal to exception". Create a new rule pageType is equal to exception to fire tags for the set of exception pages. Hope this helps. Cheers Samrat

I want to fire a site cat tag on only certain pages but already have a load rule that excludes the whole site based on domain e.g. domain does not include www.site.co.uk.

Bronze Contributor
Bronze Contributor
Hi Samrat, I can see this approach would work if we had a data layer but we haven't implemented that yet. Anyway to do this outside of a data layer? Steve

I want to fire a site cat tag on only certain pages but already have a load rule that excludes the whole site based on domain e.g. domain does not include www.site.co.uk.

Gold Contributor
Gold Contributor
Hey Steve You could try dom.url with regex instead. Instead of pageType use dom.url with regex to club the exception pages together along with present domain filter. if domain name is site.co.uk and if dom.url regex. OR use a a java extension Write a if statement for the exception url's and fire the specific tag from there using the UID, this ignores the load rule and fires straight. Cheers Samrat

I want to fire a site cat tag on only certain pages but already have a load rule that excludes the whole site based on domain e.g. domain does not include www.site.co.uk.

Tealium Employee

Hey Steve,

 

Samrat Dsouza has provided some excellent examples. While you may not yet have a full UDO in place, you can still use other data points on your site as data sources, as long as you add them in Tealium iQ. Is there some data point that uniquely identifies the page you want to load your SiteCat Tag? Try keying off of that. If you get stuck, you can always reach out to your account manager as well.

Public