We have a request to add Dynatrace to our pages. This requires the tag be added to the head of the page. It is a js include. Is this possible in Tealium? The relevance of getting it added to the top of the page is to ensure it executes before anything else on the page.
11-15-2015 11:24 AM - edited 11-16-2015 10:10 AM
Tealium's code by default runs Asynchronous
This effectivally means you would not be able to gauranteen the code runs before any other code unless the following code is in the form of a callback.
However if you still find you have a need to some JavaScrpt to execute prior to your page and you want to host that within the Tealium platform, we do have a solution. In addition to utag_data JSON object in the body and the utag.js being called from the body, you would add a call to utag.sync.js in the head of your page. This will require code to be added to the page by your web developers. However once this code is added to the page, you can put whatever you want inside of utag.sync.js via the Tealium iQ interface.
Most clients that are using Tealium's utag.sync.js are using it for Adobe Test and Target, Optimizely A/B testing or other providers that are altering the content on the page and do not want the page to "flicker"
This code does come at a cost though. You can read about some of that here: