Build a load rule by browser and version

sathomps
Bronze Contributor
Bronze Contributor sathomps

How can I create a load rule that triggers a tag only if the browser is not IE 11?

2 REPLIES 2

Build a load rule by browser and version

Tealium Expert
Tealium Expert
Hello @sathomps,

AFAIK its not possible to track BROWSER level via Load rules,. Here you can view the below link which Tealium elucidated detailed info about Load Rules,

https://community.tealiumiq.com/t5/iQ-Tag-Management/Load-Rules/ta-p/5098

Let me know if you need any help on this. Happy Learning!!! Hope it help!!!

Build a load rule by browser and version

Tealium Expert
Tealium Expert

Hi @sathomps,

The first thing you'll need to do is to bring the browser's user agent string into the UDO prior to load rules being evaluated.

To do this, create a UDO element called "userAgent" and then create a Before Load Rules scoped "Set Data Values" extension that sets userAgent to the JS Code: navigator.userAgent.

Now that the user agent is in the UDO, you can create a load rule to exclude IE 11 by specifying that userAgent does not contain (ignore case) "msie 11". On the basis that later versions (i.e. Edge) don't include the "MSIE" token, and any exclusion of IE 11 probably ought to exclude IE 6 - 10 too, you may find that it's easier to simply set the load rule to require that userAgent does not contain (ignore case) "msie".

For testing, most debug tools include user agent switchers, so it'd be a case of testing whether that tag fires when you're emulating Internet Explorer.

Give me a shout if any of this is unclear.