[Solution] Same web property ID is tracked twice


      1. Maybe you fixed it since you posted — I just checked and don’t see any tracking error, or any warning message in Tag Assistant.

    1. Hi Pawel, I checked your site and the issue is that the same GA code is firing twice: one via Google Tag Manager, and once via a service called CallPage. Check the CallPage settings and either disable the GA tracking or send it to a different property ID.

    1. Hi Marija, I checked it and the problem is that you are firing the GA code both directly on the page and again through Google Tag Manager (GTM). This means every page is being counted twice.
      To fix this, you need to remove one copy of the GA code. I suggest keeping the GTM version and removing the GA code from the page. I can’t get more specific because I don’t know how your website is structured, but basically you need to find where GA gets added to the site, and remove it. Good luck 🙂

    1. Hi Sergey, I see the code on your page firing 5 times to a single tracker, meaning your page views are being counted 5x too high.
      From what I can tell, the extra pageviews are coming from this script: brain.com.ua/build/retail.js?20180329. Please remove it from the page and see if that resolves the problem.

    1. Hey there, you have the GA code firing from both within a script (pptaccess.com/cdn-cgi/apps/head/yeBqAOWLrE5L_1tK101nGDWoKGM.js) and from within Google Tag Manager (GTM). I’m not totally sure what that script is but it appears to be related to Cloudflare. So I suggest disabling GA from within Cloudflare, or otherwise removing the GA section from the script, and using GTM only. Please let me know if that works for you!

  1. HI I have same issue and I already read your tutorial but not the problem still Same web property ID is tracked twice, and I would appreciate some assistance. my we site raqidigital.com

    1. I checked your site but Tag Assistant isn’t showing any error for me. If you’re still seeing an error, shoot me a message via the contact form and I’ll take another look.

    1. What happens when you actually click on the ‘2 requests’ text? I’ve seen this issue on another site, where Tag Assistant originally showed 3 Remarketing Tag requests, but when I clicked on the ‘3 Requests’ text, it collapsed them together and showed them as just 1.

  2. Hey,
    Thank you for sharing! However, I tried all your tips and nothing worked.
    My Google Tag Assistant says “Same web property ID is tracked twice.” & “Non-standard implementation.” What does that mean?
    The website is: http://www.interoffices.com

    1. I checked your site and don’t see the “Same web property ID is tracked twice” error message in Tag Assistant, so maybe you’ve updated your site since posting this comment. And you can ignore the “non-standard implementation” message since your code is firing fine. (It’s just a false error message that appears when your GTM account ID is longer than 6 characters).

  3. Try and figure this one out then! I’m stuck!
    Same web property ID is tracked twice apparently. I’m not using GTM. I only have one analytics ID being picked up in my source code. I’m using the default Magento 2 integration. No other tracking code in header/footer or javascript. If I disable Analytics in Magento, I lose both ‘tracked pages’ – perhaps a bug?

    1. Hi Sam, I checked your site and as you said, the script is only set once via Magento. And since both tracking calls disappear when you disable Magento, it confirms that this is a bug with the Magento GA integration. I checked online and found this bug discussed here: https://github.com/magento/magento2/issues/12221. That page says it will be fixed with the with the upcoming 2.3.0 release, but if you’d like to fix it earlier, you can try disabling the default Magento GA integration and implementing GA through a different Magento plugin.

    1. I found the GA script twice on your page: once via the MonsterInsights plugin, and once again via Google Tag Manager. So just delete one of those and you should be good. (I personally prefer to install GA via GTM rather than a plugin, but it’s up to you). Hope that helps!

      1. Thanks Ana! Can you help how to find this error? Use Google Chrome dev tool or other services.

      2. I followed the steps I described in the first method above: opened the GA Debugger and filtered for ‘pageview’.

    1. I checked your site and I see 2 possibilities. First, I see Global Site Tag (gtag.js) on your site, as well as Magento’s built-in tracking. This could be the problem as normally you should only have one or the other, not both. However, in this case it also looks like your gtag.js snippet is missing a line, in which case it’s not firing anyway.

      The other possibility is you’re running into a known Magento bug, in which their GA tracking code fires twice (details: https://github.com/magento/magento2/issues/12221). They should be fixing this by the end of 2018. In the meantime I suggest disabling Magento’s GA tracking and fixing your version of the Global Site Tag. You can find the full script at Admin > Property > Tracking Info > Tracking Code.

  4. Hi Ana,

    I would be grateful for your help on this. https://apprisemed.co.uk

    I installed Google Optimize, using GA, as recommended to reduce latency as would otherwise occur if used GTM which is easier. I’m getting a problem, ‘same web property ID Is being tracked twice’.

    Much appreciated

    1. Hi Sam, I checked your site with the GA Debugger and see ‘gtm1.send’ and ‘gtm2.send’ pageview calls, which means you have 2 pageview tags being set in GTM. I don’t think this is related to your Optimize installation, you just need to log into GTM and remove one of the extra Google Analytics Page View tags.

      1. I also have this issue, does it matter which tag is removed? Can tags be tied to triggers for example?

      2. If the tag doesn’t have a trigger, then it won’t fire at all and won’t cause your property to be tracked twice, so you can safely ignore any tags without triggers. You need to remove any extra, active Pageview tag.

      3. Hi Ana, thanks for your reply. I have two tags set up against the same property, and they both have the same trigger. I’m guessing that in this case it won’t make a difference which one gets deleted?

        The site is https://www.premierleague.com

      4. Right, I checked your site and didn’t see any difference between what the 2 tags are sending to GA, so you should be fine to delete either one.

    1. Hi Marcus, using the GA debugger I see one line that reads ga(“send”, “pageview”) and another that reads ga(“gtm1.send”, “pageview”). This means you have GA code firing from both a script on your page and from within GTM. To fix this, I suggest removing the code from your script and using just GTM (though you could alternately do the reverse). The script looks to be located at /cdn-cgi/apps/head/mEKuAwu_y_u1Qu9t6St41ByEyd4.js.

    1. Hi Drew, I checked your site and don’t see the “Same web property ID tracked twice” error message in Tag Assistant. I think you’re fine.

  5. Hi Ana, first I want to thank you for writing an article on this topic. I’ve been trying to find an adequate response to my issue, but no success. I read the article, however, I’m not sure quite sure how to fix this issue without breaking something? 🙂 Could you please take a look and give me some advice?
    Second, your Mixed Analytics Audit Tool is a real blessing! I’m using it for a while now, and it has helped me tons! Thanks a lot!

    1. Hey Mina, thanks so much for your comment. Made my day 🙂
      I checked your site and you have GA installed via both GTM and GA at the same time, which double counts page views. I suggest leaving your GTM version and removing your other GA script.
      Since you’re using WordPress you’d need to check all the places GA could be installed: the plugin list, header file, or theme options.
      If you send me WordPress login details I can take a look and tell you exactly what needs to be changed.

      1. Hi Ana, thank you for your quick answer as well as for the information you’ve provided.
        The thing is that I accidentally realized that I had this issue on my site. Then I tried to find a solution and found your article. I knew I needed to fix it, but was somehow unsure how to do it.
        Instead of asking, I left it aside thinking I’d fix it later, completely forgot that I haven’t done it yet, which resulted in Google disabling my Adsense account today due to invalid traffic.
        So, I’d greatly appreciate your help! I’m going to send you my login details right now.

  6. Ana, you are a star!!! I wouldn’t have guessed in a million years that it was being fired via All-in-one SEO plugin!!! I completely, COMPLETELY overlooked it! And I was having such a hard time trying to fix it myself, that I couldn’t see the wood for the trees, so I gave it up! Luckily, we have you! Thanks a lot! I really appreciate your help! Couldn’t have made it without you for sure!

    1. Hi Alex, I checked your site with the GA debugger and see 2 pageview calls: one with gtm1 and one with gtm2. That means you have 2 pageview tags being set in GTM, so you just need to log in to GTM, navigate to the Tags list, and delete one of your pageview tags. Typically a pageview tag will have have Type = Google Analytics – Universal Analytics.

  7. Hi, I’m seeing the same error on my site (https://advanced-homehealthcare.com/). When I take a look through GA Debugger and Developer Tools I’m seeing multiple GA pageview tags being fired from within the page template. But I cannot for the life of me figure out where it’s coming from. Any suggestions?

    1. Hi Stacie, I’d start with your plugins, since I see the text “Google Analytics Tracking by Google Analyticator” in your source code. Test disabling the Google Analyticator plugin entirely and reloading the page– if your GA tracking entirely disappears, you’ll know Google Analyticator is setting GA twice and you need to adjust your plugin settings. If GA tracking starts firing just once, then it means you were previously setting GA from 2 different locations, and now the issue is resolved.

      If it has no effect at all, you will need to keep looking among your plugins and theme files. (I can help with that if you send me your WordPress login credentials to take a look.)

      Let me know how it goes!

  8. Anna hi! Thanks a lot for this awesome article. It helps to find and solved an issue with the welcome screen. Thanks for it!

    Anyway, I still have a question.
    Analytics implemented by GTM

    1. The gtm1 and gtm2
    For the “welcome” screen, I add the Tag = “event. welcome”
    Tag: Track type = Event
    Trigger: Some Window Loaded Events when URL contains “welcome”

    if the Trigger is disabled I see on the page only gtm1, if the trigger is working I have gtm1 and gtm2 with next settings.

    Running command: ga(“create”, “UA-GAID-1”, {name: “gtm2”, cookieDomain: “auto”})
    Running command: ga(“gtm2.set”, “&gtm”, “2wg2GTM-ID”)
    Running command: ga(“gtm2.set”, “nonInteraction”, false)
    Running command: ga(“gtm2.set”, “hitCallback”, [function])
    Running command: ga(“gtm2.send”, {hitType: “event”, eventCategory: “welcome”, eventAction: “impression”, eventLabel: undefined, eventValue: undefined})

    Is it correct because i add an event with pageview?

  9. Hello,Ana! My name is Ana too 🙂 I am installed Google Tag Manager and Google Analytics and the Tag Assistant says that i have the same ID tracked twice and that i have Multiples Google Tag Manager and Google Analytics Installations… I have been trying to fix this but i don’t know how…Can you help me?My URL is http://www.anacastilho.com.Thank you!

    1. Hi Ana! The problem is that you have both on-site GA code (gtag.js) and Google Tag Manager running on your site. Since you’re using WordPress, you have likely added GA tracking code via a GA plugin — you’ll need to look through your list of plugins, check their settings, and remove your extra GA tracking. If you can’t find it, feel free to email me login info to your WordPress account and I can check it for you.

  10. Hello! Thank you for your reply. I started to add the code to the Theme editor but then i removed and now i only have it through Insert Headers and Footers Plugin,I removed the GTM and GA Plugins. But there’s still an error. Ok,i will.Thank you

    1. Unfortunately I can’t get more specific because every WordPress theme and plugins are different. Feel free to email me login info to your WordPress account if you’d like me to take a look.

  11. I fixed the error but now it says that I have Non-Standard-Implementation on Google Analytics, and i am not sure that my GTM container is published… Not sure that both GA and GTM are working correctly…

    1. You can safely ignore the non-standard implementation error message. I rechecked your site and all looks good to me now.

    1. In your page source you can see DuracellTomi’s Google Tag Manager for WordPress plugin as well as the GA script directly on the page. Just remove one of those and you should be good!

    1. I just checked your site and confirmed it’s not being tracked twice. I checked Tag Assistant and don’t see any error message there either, are you still seeing it?

      1. Hey Ana. Will check again when I’m back at my PC later.

        Thanks for the speedy response 🙂

  12. Hi Ana, tried to go through all above explained steps but still couldn’t figure out the problem. Tag Assistant also shows “Same web property ID is tracked twice.” Can you maybe take a look at our site? https://www.rinn.net/mein-garten.html And: Best article I found concerning this topic! Thank you!

    1. Hi there, I appreciate your comment! Unfortunately your case can’t be resolved by the above steps because you’re using a custom version of Google Analytics. From what I can tell by viewing your page source, your GA code is wrapped in a function that checks if the user has accepted cookies or not, and there’s a problem with this function causing it to fire twice. So your code isn’t on the page twice, it’s just that the same code is being triggered twice. Since you’re using the third party tool Cookiebot, I suggest reaching out to them or checking their documentation at https://support.cookiebot.com/hc/en-us/articles/360003813893-Controlling-Google-Analytics-Universal-with-Cookiebot to make sure you’ve implemented their version of GA correctly.

    1. Hi Ömer, yep, now I see it. In the GA debugger I see GA firing three times on those pages: twice through GTM and once through the gtag script directly on the page. If you click Ctrl-U, you can see why: you have the GTM script on the page twice (in the header and again in the footer), as well as the gtag script at the top of the page. You need to remove all but one of those scripts, and then your GA tracking will only fire once.

    1. I checked and don’t see any issue. If you haven’t already fixed it, can you please link me directly to the URL where you’re experiencing the issue?

    1. I think I got it (fingers crossed) I deactivated WP plug-in. I was nervous that since GTM tags reference analytics it would disrupt the data flow. Gosh this is confusing!

Leave a Reply

Your email address will not be published.