How do I exclude certain browsers (namely IE8) from a tag deployment?

Bronze Contributor
Bronze Contributor
 
3 REPLIES 3

How do I exclude certain browsers (namely IE8) from a tag deployment?

Tealium Employee
Hi Ellery, I think the best way to do this is: - Add a JavaScript extension scoped to "Pre Loader" that sets a global JS variable to the userAgent: window.userAgent=navigator.userAgent; - Declare the "userAgent" variable in the Data Sources tab and be sure to set the Type as "JavaScript Page Variable" - Build a load rule that checks to see if "userAgent" "does not contain (ignore case)" "MSIE 8.0" - This load rule can be applied to the tag(s) required This should do the trick for you.

How do I exclude certain browsers (namely IE8) from a tag deployment?

Tealium Employee
Here is a webpage that states user agents: http://www.useragentstring.com/pages/Internet%20Explorer/ Based on this I would make the load rule that checks to see if "userAgent" "does not contain (ignore case)" "MSIE 8.0" and "userAgent" "does not contain (ignore case)" "OptimizedIE8"

How do I exclude certain browsers (namely IE8) from a tag deployment?

Bronze Contributor
Bronze Contributor
Excellent, thanks for the detailed feedback! I'll regroup with our IT on these specifications
Public