- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
12-03-2014 08:38 AM
12-03-2014 08:54 AM - last edited on 10-08-2015 10:55 AM by kathleen_jo
You can. Just setup a Javascript extension that is scoped to pre-loader and enter the code like:
if (document.URL == "url of your iframe"){ window.utag_cfg_ovrd = {noview : true};}
This will load the tags for the page but will suppress the utag.view that occurs on page load.
Instead of doing the evaluation on the URL you could set a variable and value in the utag_data object that indicates that the page is an iframe and use that to suppress the view call.
12-04-2014 04:37 AM
03-26-2015 04:33 AM - last edited on 10-08-2015 10:56 AM by kathleen_jo
Hi Steve,
is there also a way of doing this from the page instead of through a pre-loader extension?
Like through a data layer variable or so.
06-22-2015 06:44 AM - last edited on 10-08-2015 10:57 AM by kathleen_jo
Hi Steve,
that works for all tags in one shot. Do you think there is a way to do it for a specific tag only? I know there is an advanced settings for each tag that does it, but I need to decide this into the page loading and not in Tealium panel.
thanks
06-22-2015 09:58 AM - last edited on 10-08-2015 10:57 AM by kathleen_jo
Hey Jarno,
If you want to have a single tag not fire on a page or in a given situation, I would use a load rule rather than suppression.
Thanks, Steve
06-23-2015 08:13 AM - last edited on 10-08-2015 11:00 AM by kathleen_jo
Hi Steve,
if you avoid loading a tag using a load rule, that tag won't be never available in that page. I want to track the page view, but I need to post-pone the server call because there is something within the page that we need to check.
What happen if I set "a=noview" using an extension tag scoped?
06-23-2015 09:05 AM - last edited on 10-08-2015 11:00 AM by kathleen_jo
The noview override is for all tags not a specific tag.
If you are on the most current version of utag, you could set a load rule so the tag won't fire on the initial page view and then when you do your check and know you want to fire the tag execute a utag.view({utag_data},null,[UID for Tag]), which will fire only the tag which you specify using the UID from the Tealium console and will load it if not already loaded on the page. For an answer tailored to your specific use case please reach out to your account manager for more information.
Copyright All Rights Reserved © 2008-2023