- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
11-22-2017 04:04 AM
Hi all,
I have set up a Tag using the Tealium Custom Container. There is an external script I want to call, so I've uncommented the respective lines and the code looks like this:
if (!u.initialized) { //u.loader({"type" : "iframe", "src" : u.data.base_url + c.join(u.data.qsp_delim), "cb" : u.loader_cb, "loc" : "body", "id" : 'utag_26' }); u.loader({ "type": "script", "src": "//www.adswithsugar.com/tscnvmain.js", "cb": u.loader_cb, "loc": "script", "id": "utag_26" }); } else { u.loader_cb(); }
Now I've expected the script "tscnvmain.js" to be shown in the Network-Tab of the developer tools - but it does not. Any ideas what I might have done wrong?
Thanks and best regards,
Bernd
Solved! Go to Solution.
11-22-2017 04:34 AM - edited 11-22-2017 04:35 AM
@sangmister what do you see in the console when you enter this in the javascript console and refresh the page:
document.cookie="utagdb=true";
Is the u.loader_cb function un-commented?
11-22-2017 08:49 AM
Uncommenting the loader-callback-function did the trick! I thought this is only to be uncommented when using it - anyway, now it works!
Thanks, @AndreScholten!!
11-22-2017 10:46 AM
OOOooo @sangmister. I'd so accept that as a solution! #justsayin
11-22-2017 10:53 AM
11-22-2017 10:58 AM
YAY!!! Thank you @sangmister for the accepted solutions LOVE!
And double thanks to @AndreScholten for the answering love!
#SoMuchLoveTeeHee
Copyright All Rights Reserved © 2008-2023