- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
10-21-2015 08:04 PM
Our application pages are monitored by Gomez and the Gomez measures all assets and AJAX calls made from page as a part of page load time. We started missing our MDO because of TAG firing time adds up to page load time. I wanted to see if there are any option, if we can delay the page load TAG firing till Gomez completes the page load measurement.
10-22-2015 09:37 AM - last edited on 10-23-2015 09:34 AM by kathleen_jo
Hi @amit_ranjan I am happy to help with this inquiry outside the forum and will follow up in a separate email.
11-16-2015 01:00 PM
If you wanted your analytics to load after any performance measuring tool, I believe it will measure up to document complete.
In release v: 4.34 and above there is a override flag to "delay tags until the DOM readyState "complete" (aka "load") event -- this flag provides a delay that might make page display time speed up by pushing all tags (with Wait = Yes setting) to execute even later // Preloader JS Extension to set the flag to wait for readyState "complete"
//scoped “Preloader” JS extension var utag_cfg_ovrd = {}; utag_cfg_ovrd.dom_complete = true;
An extra delay until readyState "complete" is added for older IE browsers by default. This is a fix for IE browser bug that reports DOM readyState "interactive" before it is really true. "
If you wanted to have the entire Tealium library from loading untill you can always could also wrap our standard async script injection in DOM ready code or use an EventListener to trigger loading utag.js at document complete.
jQuery( window ).load(function() { ...})
One caveat is that any of these measures will have an impact an analytics performance.
Copyright All Rights Reserved © 2008-2023