- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Hi,
we have a new checkout process as a single page application where URL is changing build with vue.js.
I am using the noview=true extension but on the entry page and confirmation page all tags are fired twice. But not in on the steps between!
window.utag_cfg_ovrd = window.utag_cfg_ovrd || {};
window.utag_cfg_ovrd.noview = true;
In the console I can see that the extension set the noview to true.
window.utag_cfg_ovrd
{noview: true}
So what could cause the tags firing twice?
Thanks in advance for any hint!
Best regards,
Gerhard Klassen
Hi @Gerhard5000,
just to be sure, have you scoped the tag correctly to "Pre Loader"?
Best regards,
Andreas
ok, I just checked that the preloader was wrong configured on inital page load. This if fixed and working.
Thanks for asking. So bad.
But I still have two loads on the confirmation page.
But I can see that the preloader on confirmation is not working.
I have added a console.log but I can`t see it...I pushed the extension to the first place but it is not executed...
As I think the extension is not working is it possible to hard code on the confirmation page to prevent firing twice?
window.utag_cfg_ovrd.noview = true
To see if the extension is the cause of your problem you can activate the Tealium debug output by setting a debug cookie (see here: https://community.tealiumiq.com/t5/JavaScript-utag-js/Console-Debug-Output/ta-p/14328). Look in the console output for "trigger:view", which appears if Tealium is dynamically triggerd via calling utag.view().
If on your confirmation page you see "trigger:view" twice, the problem is maybe the page code which calls Tealium twice. If however your tags are fired twice but you only see "trigger:view" once, you know the first call is from the tag loading and the problem might be your pre loader extension.
@ ahrasch: Thank you very much for your feedback.
You are right, with debug output I could see that view was triggered twice.
After talking with Simon B. from Tealium he showed me how to configure the firing rules - so we don't fire anything at the first view....but of course Dev has to kill the first view....
Copyright All Rights Reserved © 2008-2023