Highlighted

Do pre-loader extensions fire as soon as utag.js loads?

Rookie Contributor

If not, was is the best way to execute some JS code as soon as utag.js laods? 

2 REPLIES 2
Highlighted

Do pre-loader extensions fire as soon as utag.js loads?

Tealium Employee

@tomas_balciunas,

 

Yes the pre-loader extension code is the first thing that is loaded once utag.js is executed. This would be the best way to execute JS code before tags and other extensions load. Keep in mind, none of the Tealium data sources would be available when the pre-loader code is executed. Please read this article for more info:

 

https://community.tealiumiq.com/t5/Tealium-iQ/JavaScript-JS-Code-Extension-Load-Rules-amp-Data-Sourc...

Highlighted

Do pre-loader extensions fire as soon as utag.js loads?

Rookie Contributor
Thank you.