x

Adding Google analytics - UA and GA4

Hi. Please pretend that you're talking to a child who has never seen a computer before. Thanks Smiley Happy

I'm trying to add Google Analytics to my weebly site. I have created a Google analytics account and it has created two 'properties' one beginning with UA and one beginning with GA4. I have yet to figure out the differences, but will research.

I have (I think) managed to add the UA code in the Header section of my weebly site in settings > SEO. I think analytics has yet to begin tracking / compiling. Do I need to add this on every page I want to track, or it is automatically applied to all my pages?

Also, what do i do with the 'measurment ID' (begins G-Txxxxxxxxx) from the 'GA4' property ?

I have scoured the forums and Help guides but yet to find a definitive answer. Any help is greatly appreciated. Thanks folks. 

1,142 Views
Message 1 of 4
Report
3 REPLIES 3
Square

Thanks for your post, @StoryBud. If you added your code to Settings > SEO then it'll be added to all the pages of your site automatically; you won't need to do anything else. The GA4 tag is Google Analytics 4, the newest version of Google Analytics. If you want to add that instead or in addition to the code have now, see this article on adding the Google Analytics 4 tag. In the code snippet you see there, you can see a spot where you replace the text MEASUREMENT_ID with your own measurement id.

1,125 Views
Message 2 of 4
Report

Hello, thank you for this response about using GA4 in Weebly.  Do you have any advice for adding GA4 Custom Tracking?  I am on this screen:

Settings -> General -> Tracking

I would love to track the Cart, Payment and Receipt pages, that sounds very informative.  Thank you!

973 Views
Message 2 of 4
Report
Square

For now you may want to use the older Google tracking code (UA-) for eCommerce tracking. You could try adding separate, custom code to each of the three fields there, but I'm not sure what that code would look like.

969 Views
Message 2 of 4
Report