- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
02-20-2015 02:38 PM
Solved! Go to Solution.
02-20-2015 04:57 PM - last edited on 08-09-2016 08:31 PM by kathleen_jo
It sounds like your tealium_env variable is reading a value from the utag.cfg.path variable. This is no longer needed in latest utag.js template. You can use the new variable "ut.env" (add this in your Data Sources tab as a UDO variable) Some instructions here on updating your utag.js template to latest version: https://community.tealiumiq.com/posts/762863-how-do-i-upgrade-to-the-latest-utag-js On a related note.. You can dynamically tag your HTML source to load in the utag.js file from any location. // Code snippet on page var my_env_variable = 'prod'; (function(a,b,c,d){ a='//tags.tiqcdn.com/utag/myaccount/main/' + my_env_variable +'/utag.js'; b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=true; a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a); })(); // Another option is use an extension to change environment based on domain // https://community.tealiumiq.com/t5/Tealium-iQ/Domain-Based-Deployment-Extension/ta-p/13703 // Domain-based deploy Extension means your tag will behave "as if" you coded this way a='//tags.tiqcdn.com/utag/myaccount/main/qa/utag.js
Copyright All Rights Reserved © 2008-2023