Learn business growth with Google Analytics 4 Forums Google Analytics 4 What is the source of my Google Analytics tracking?

  • What is the source of my Google Analytics tracking?

    Posted by Mia on 20 February 2023 at 6:36 pm

    Hey there, I’m checking out your Google Analytics account and can’t grasp how the Universal Analytics is squeezed into your site because it’s set up unusually. I’m seeing the Google Tag Manager container on Google Tag Assistant but it’s got no tracking initiation (it’s empty).

    Here’s the only stuff I can spot:

    <script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-NVMXXXX&amp;gtm_auth=&amp;gtm_preview=&amp;gtm_cookies_win=x"></script>
    <script async="" src="https://www.google-analytics.com/analytics.js"></script>
    <script>
          (function(w,d,s,l,i){w[l]=w[l]||[];
            w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', });
            var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';
            j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'&gtm_auth=&gtm_preview=&gtm_cookies_win=x';
            f.parentNode.insertBefore(j,f);
          })(window,document,'script','dataLayer','GTM-NVMXL73');</script>
    

    Updating you on this: Can’t see any UA-related stuff in DevTools/network section. I’m only seeing the analytics.js.

    Tag Assistant is all over the place. Sometimes it only catches the GTM, then it shows the successfully executed tag on a refresh, and sometimes the UA tag comes up with an error.

    But hang on, I’m looking at a live UA report and your site is definitely on the radar!

    Is there anyone who can help shed some light on this? We’re thinking of shifting the tracking to Google Tag Manager but we’ve got no clue where the current tracking is hailing from.

    Raj replied 1 year ago 3 Members · 2 Replies
  • 2 Replies
  • Olivia

    Member
    13 March 2023 at 5:41 pm

    Hey, how about this: Could it be possible that you’re looking at a different Google Tag Manager account? That might be why you aren’t seeing the whole container. If you want to see every aspect of it, you’re going to have to be an admin for that specific account.

    If you aren’t an admin already, send a request via Google Tag Manager or Google Analytics to get those permissions. Once you’re an admin, you should be able to see the full container. Good luck with your tracking transition!

  • Raj

    Member
    28 April 2023 at 8:18 am

    The tracking code you’re seeing is definitely from Google Tag Manager (GTM). It’s possible the Universal Analytics (UA) data is being relayed from GTM itself or directly from your website. You can verify this by checking the ‘Initiator’ in your devtool’s Network tab after searching the UA property id. If you share a screenshot, we can help further. Or alternatively, you might need to reach out to your developers to sort this out. It seems UA tracking is hard-coded in your ‘loadGA.js’ file.

Log in to reply.