Hi @BradHenderson, If you want to use Fiddler for this purpose, you can use the FiddlerScript I am including here. The point of this particular script, is to make it a bit easier for non-coders, to paste the script and modify as little as possible to make it work. You will therefore see, that the Tealium iQ account is supposed be "hardcoded", since it would wouldn't need to be changed often, compared to what you really need to change, e.g. hostname, existing - and changed profile and environment. Using a proxy tool like Fiddler, will also activate the prod -> dev environment change for all browsers and programs on your computer, not just one single browser. I generally like to use tools like Fiddler or Charles because of this, compared to the use of different extensions in different browsers. Insert, and modify, the following FiddlerScript in the "OnBeforeResponse" section of the menu item "Rules / Customize Rules ...". //---------------------------------------------------------------
// START - Tealium iQ - Change Environment for specific site
//---------------------------------------------------------------
var tiqChange_Hostname = "www.mydomain.com";
var tiqChange_EnvironmentExisting = "default/prod";
var tiqChange_EnvironmentNew = "sandbox/dev";
if (oSession.HostnameIs(tiqChange_Hostname) && oSession.oResponse.headers.ExistsAndContains("Content-Type","text/html")){
oSession["ui-backcolor"] = "orange";
oSession["ui-color"] = "black";
oSession["ui-bold"] = "true";
oSession.utilDecodeResponse();
oSession.utilReplaceInResponse("//tags.tiqcdn.com/utag/MYACCOUNT/" + tiqChange_EnvironmentExisting + "/utag.js",
"//tags.tiqcdn.com/utag/MYACCOUNT/" + tiqChange_EnvironmentNew + "/utag.js");
}
//---------------------------------------------------------------
// END - Tealium iQ - Change Environment for specific site
//--------------------------------------------------------------- In the code, change the two words "MYACCOUNT" to the name of your own the Tealium iQ account, and save the code snippet for later use. After that, your only supposed to change the three top-most variables to their relevant values. tiqChange_Hostname = The entire hostname you want to change Tealium iQ environment for tiqChange_EnvironmentExisting = The Tealium iQ profile and environment you want to change from tiqChange_EnvironmentNew = The Tealium iQ profile and environment you want to change to The two later variables are to be defined in the format: [PROFILE]/[ENVIRONMENT]. This allows you to also change to another profile, for instance a "sandbox" profile created for test purposes only. Best regards, Peter
... View more