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

Gold Contributor
Gold Contributor

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

2 REPLIES 2

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

Employee Emeritus

@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...

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

Gold Contributor
Gold Contributor
Thank you.
Public