Highlighted

When I use web companion to reflect the QA environment tags fire twice?

Rookie Contributor

I'm currently doing tag testing using Web Companion to refresh pages in a QA enviroment, but I have a a set of tags that are firing twice. I've cheked the load rules to ensure they are right, but still get double firing tags. Any ideas? 

2 REPLIES 2
Highlighted

When I use web companion to reflect the QA environment tags fire twice?

Employee Emeritus

Hi @Fredy_V,

Is there a manual utag.view() being called somewhere?  Are you using one of our Marketplace Tags or is this a Custom Tag?

Highlighted

When I use web companion to reflect the QA environment tags fire twice?

Employee Emeritus

@Fredy_V WebCompaion is a great tool, however since that was written a new tool called Environment Switcher was developed by one of the Engineers in our UK office.  WebCompanion will first download your Prod version of utag.js, then use that JavaScript to check for the cookie and if set download the Dev or QA version of utag.js and run that code.  Since two utag.js files are both downloaded, some odd behavior can occur.

 

With Environment Switcher, Chrome will start to make the network request for the Prod version of utag.js and then do an internal redirect to the Dev or QA version of utag.js and only download the Dev or QA version of utag.js from the CDN.  As a result only one utag.js file is executed in the browser.  Reducing any odd behavior than can occur with WebCompaion.

 

If you would like to use Envornment Switcher, use the following insturctions.

 

1) Install Tealium Tools
 
2) Add the Custom Tool Environment Switcher within Tealium Tools
The URL for #4 below is: 
 
es1.png
 
es2.png
 
es3.png
 
es4.png
 
 
In addtion to loading a different utag version, you can watch for additional utag.view calls by using Universal Tag Monitor.  You can read about Universal Tag Monitor here: