Highlighted

Insert script tags before a div

Hello, We need to execute a javascript file before/inside a particular div. < script src="http://...myscript.js?param1=utag_data.1&param2=utag_data.2"> < /script> This should go before #customercomments div. I'm able to insert the tags but they do not execute. Any input is appreciated! Thanks, Jeff edit: the system removed my example script tags
2 REPLIES 2
Highlighted

Insert script tags before a div

Tealium Employee
If this script includes synchronous code (i.e. document.write calls), you will need to place this code in your HTML source at the point where you would like it to execute.
Highlighted

Insert script tags before a div

It does include document.write calls. We will implement outside of Tealium then. Thank you for answering.