- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Hi @Manish
Without directly editing the utag loader template the best option you have is to turn on the dom_complete
override.
Normally the loader will start processing tags when the DOM State has moved away from Loading, and in either Interactive or Complete.
You can do this in an JS extension scoped to Pre Looader.
With the code:
window.utag_cfg_ovrd = window.utag_cfg_ovrd || {}; window.utag_cfg_ovrd.dom_complete = true;
Adrian
So you the tags that would fire after DOM Complete are the ones where you have set the wait flag to yes on a tag.
If they are set to wait no, they they will fire as soon as the utag is ready.
The other option is to use the utag.view functionality of firing specific tags. This could mean you have an extension that tracks DOM Complete, and then fires a utag.view({...data...}, null, [<array of tag ids>]);
for the tags that you want to fire at this point.
Adrian
08-25-2018 10:48 AM - edited 08-26-2018 04:03 AM
Copyright All Rights Reserved © 2008-2023