- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
02-06-2018 06:43 PM
Hi,
I am facing one issue with tealium custom container. I have added new tealium custom container template and loading js file from the template . Added another extension scope to after tags , when i try to call function from the js which i loaded from the template i am getting error saying that function not defined . i can see that function is not available by the time extension is loading .
Is there any other solution in tealium to fix this issue ?
Thank you,
Veeru
02-06-2018 10:36 PM - last edited on 02-07-2018 06:47 AM by kathleen_jo
The delay is likely to be caused by either:
Or indeed both of those. Your best options, @vveerendra, are either to change the way in which the scripts are loaded (potentially bundling the tag into the main utag.js and loading the script in the container synchronously) or otherwise change the way in which you're trying to use the functions that the tag creates. If you're doing the latter, this might mean attaching the subsequent scripts to the onload attribute of the script you're adding, or polling for the existence of the required functions at intervals and holding off on using them until they're there.
02-20-2018 04:34 PM
02-22-2018 07:43 AM - last edited on 02-26-2018 05:22 PM by kathleen_jo
I tried bundling the tag, @UnknownJ, but i am still seeing the same issue
02-22-2018 07:45 AM - last edited on 02-26-2018 04:34 PM by kathleen_jo
Hi @adam_wolfers,
I was able to fix using diffenent method . But i will also check your solution and let you in case of any issues.
Thanks!
02-26-2018 04:37 PM - edited 02-26-2018 05:05 PM
Glad to hear that you fixed the issue using a different method @vveerendra. Would you mind replying and letting us know how you did it? I look forward to reading your approach.
Copyright All Rights Reserved © 2008-2023