You'll need to find which of the Google Tag Manager IDs belongs with the current site and remove the non-current.
While it probably doesn't affect site performance, Google does not recommend having more than one gtag.
You'll need to find which of the Google Tag Manager IDs belongs with the current site and remove the non-current.
While it probably doesn't affect site performance, Google does not recommend having more than one gtag.
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
What Google exactly says is:
keep the number of tags [...] as lean as possible
Most browsers will not open more than four to eight HTTP requests to a single domain at a time. If you have a high number of tags on the same domain firing under the same conditions, tags will only fire within this browser limitation.
https://support.google.com/tagmanage...72488?hl=en-GB
roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/
Thank you both for the prompt assist.
I am only using the G4-Analytics plug in.
As you can see in the page source, the gtag id is the same in both location.
I made a test ( maybe pointless) but oddly if i change the gtag ID in the G4 Anlytic admin setting, the ID changes in both places.Code:<script async src="https://www.googletagmanager.com/gtag/js?id=G-JQL28SP4BW"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-JQL28SP4BW'); </script> <meta charset="utf-8"> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-JQL28SP4BW"></script>
I may just uninstall G4-anyltics to see if the script is still loaded. Not sure why the script would be loaded twice on the same page
Last edited by nicksab; 3 Apr 2025 at 08:42 PM.
i love your response... although...
TIS.
nick,
my 1st guess would be that potentially you have the same notifier in 2 places. why you would have that, i do not know.
i can only assume that @lat9 has tested this module, and that in a normal install, the behavior you are witnessing does not happen.
given that assumption, i would search your code base for:
NOTIFY_HTML_HEAD_TAG_START
that is the notifier that places your tag in the header. if that notifier occurs in 2 places that would explain the behavior.
your test (hardly pointless) suggests that the code where the tag gets inserted is getting hit twice.
but you definitely have some sort of issue, that i'm guessing is with your template.
in any event, that is where i would start.
best.
I could totally give you a hug right now.
I did a search as suggested and turns out the code got somehow duplicated:
Thank you for the help as always./includes/templates/royal_fleur/common/html_header.php
Line # 68 : $zco_notifier->notify('NOTIFY_HTML_HEAD_TAG_START', $current_page_base);
Line # 75 : $zco_notifier->notify('NOTIFY_HTML_HEAD_TAG_START', $current_page_base);
Hi,
I have a google Ads Tracking ID starting with "AW". The readme file specifically states the id starts with a G. Can you please tell me if this plugin will accommodate my tracking ID starting with "AW".
Thanks!