Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

New Google Analytics Tags Rate Topic   - - - - -

 
  • winsbury
  • Newbie
  • Members
  • Join Date: 28-Jan 20
  • 10 posts

Posted 28 October 2020 - 01:06 PM #1

Can someone help me get the new style Google Analytics configured ?
 
I have created an analytics account on analytics.google.com and now have a new style G-0123456789 Measurement ID number instead of the older style universal analytics UA-9876543210 number.
 
I tried putting the G-0123456789 number into the CScart Google Analytics Add-on but could not see any real time tracking results and view source on a browser revealed that the code snippet inserted by the add-on was completely different to what Google Analytics requires. It seems to only support the older style UA ids.
 
If I understand it correctly, there is a new way of integrating analytics and other 3rd party snippets using tags now.
 
So, I have set up a tagmanager.google.com account and now have a GTM-ABCDEFG number. This also suggested a script snippet to be added to every page of the website. Thankfully eCom Labs publish a free Google Tag Manager add on which does this and I can see the snippet is all good using view source in a browser and appearing on every web page.
 
In tagmanager.google.com I added a 'Google Analytics: GA4 configuration" tag and used the G-0123456789 number as the measurement ID and trigger to "Send a page view event when this configuration loads"
 
Back in analytics in the Web Stream Details there is a Connected Site Tags field which I have tried with and without  the G-0123456789 but there is still no real time tracking info showing up in Analytics.
 
Debugging using tagassistant.google.com fails with "Tag Assistant could not connect to a tag on https://mysite.co.uk/"
 
Any ideas what have I missed or done wrong ?


 
  • winsbury
  • Newbie
  • Members
  • Join Date: 28-Jan 20
  • 10 posts

Posted 28 October 2020 - 05:20 PM #2

Update: SOLVED I had not  realised one has to publish the tag within tagmanager.google.com after setting it up, having done that tagassistant.google.com connected but still nothing is showed up in analytics even though debug showed the analytics tag firing okay on each page I loaded. After a few minutes it started working so presumably there is a short lag from publishing until analytics kicks in.

 

I'll leave this thread up and hope this helps someone, it was all pretty opaque to me to start with.