- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
12-08-2016 07:12 AM
I have a question concerning the placement of utag.js in a static HTML document without UDO.
The aim is to add Tealium to parts of a web site where the modification of source code is expensive due to process reasons. Adding utag.js as a one off process is feasible, building a best practice conforming UDO is economically forbidding.
What would be the advantages, disadvantages of the two solutions?
I am leaning towards placing the utag.js at the bottom, so that we know that all data is present on the page when TiQ runs and we can immediately use an extension to set the data values in the data layer. As opposed to, say, placing utag.js at the top and firing the Tags on DOM Ready and scoping the data setting Extensions to the relevant tags, hoping that they will have the correct timing.
Is there a recommendation on utag.js placement under these circumstances?
Thanks in advance,
Solved! Go to Solution.
12-08-2016 07:46 AM
12-09-2016 01:21 AM - last edited on 12-09-2016 09:23 AM by kathleen_jo
that sounds perfect, we will do it this way!
Copyright All Rights Reserved © 2008-2023