- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
10-10-2014 09:01 AM
Solved! Go to Solution.
10-10-2014 09:29 AM - last edited on 10-05-2015 10:56 AM by kathleen_jo
Hi Jonathan, it is possible if you write your own version of an async script insertion and set it's type attribute to what you described. Our best-practices recommendation of how to insert utag.js would be an example of how to set this attribute:
(function(a, b, c, d) {
a = '//tags.tiqcdn.com/utag/tealium/main/dev/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);
})();
That being said custom templates can be tricky to get to work correctly. If you need additional help for your specific use-case please don't hesitate to contact your Account Manager.
Copyright All Rights Reserved © 2008-2023