- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Anyone can explain that please ?
Solved! Go to Solution.
Hello @soufiane-fadil. Does this article help?
I look forward to your reply.
Hello again, @soufiane-fadil. We do have articles that describe both scenarious of Optimizely implementation. Please find them below:
How you implement Optimizely is entirely based on your business needs. I would recommend that you work with your internal stakeholders to figure out if a synchronous or an asynchronous implementation is right for you.
Both of the documents will describe best practices as well. Please let me know if you have any further questions. Thank you.
07-26-2016 02:29 PM - last edited on 07-26-2016 03:23 PM by kathleen_jo
You typically have two options in Tealium to implement synchronous code, use the utag.sync.js or adapt the code for use asynchronously.
To load synchronous code, tealium provides for the use of separate file loaded synchronously to your page code. This file is the utag.sync.js file and is a separate independent file from the main utag.js file, typically loaded in the <head>. You have access to place code into this file through TIQ.
Conversely if you have 'synchronous' code you need to implement you can always check with the vendor if they have an asynchronous version. You can also refactor the code snippet if it has "document.write's" to do the same thing but in asynchronous code.
If your tag must be loaded synchronously ( like Optimizely ) and through Tealium then you will need to consider using the utag.sync.js option.
Copyright All Rights Reserved © 2008-2023