Speeding up tag loading

Bronze Contributor
Bronze Contributor
I'm running an A/B test using Optimizely where I am redirecting some traffic to a separate page. Everything is working properly, but the redirect is noticeably slower when the Optimizely tag is served through Tealium compared to when it is loaded directly on the page. I know there will always be an increase in responsiveness using Tealium, but I was wondering if there is any way to speed up the Optimizely tag.
1 REPLY 1

Speeding up tag loading

Tealium Employee
Hi Luke, There are a couple of options. Before I list them please ensure the utag.js file is called just after the beginning body tag. Otherwise the below options will not work. 1) Add a "Javascript" extension scoped to "Pre-Loader" with the Optimizely code. Just load the JS file (e.g. http://cdn.optimizely.com/js/12345678.js) into Firefox or Chrome and copy/paste the JS code into the extension. This will be initiated as soon as the utag.js file is loaded and run this very high up in the page load process. 2) Move Optimizely to the top of the tags list. Then go to the Advanced Settings of the tag and slide the "Send Wait" slider to "No". Then go to the Configured Publish Settings within Save/Publish modal and enabled "Bundle libs loading on All Pages". All this means instead of the default of running at DOM Ready it will run as soon as the Tealium library is available. This won't run as quickly as the Pre-Loader extension, but will still run before DOM Ready. Give these a shot and let me know if this helps or if you have any other questions.
Public