Analytics - Google Sites
Enable site analytics for your Google Site using Google Analytics to see the pageviews, traffic and audience of your Google Site
Create a Google Analytics Property
Go to Google Analytics: https://analytics.google.com/
Create a new Google Analytics 4 property and select an appropriate time zone and currency and set the appropriate Business information (you may need to accept the terms of service and choose your email preferences)
Create a Data Stream and choose Web
Enter your Website URL
Choose https:// as the prefix
Enter your custom URL if you have one and if not the sites.google.com published URL without an page URLs (e.g. do not include /home on the end)
Copy the Measurement ID (not the code) that's in large bold type and begins with G- followed by numbers and letters
Analytics - Settings - new Google Sites
Use the Settings (looks like a cog/gear) near the Publish button
Choose the Analytics option
In the Google Analytics tracking ID box past your Tracking ID you copied from Google Analytics
Make sure you Enable analytics is active (the slider is blue if it is)
Close the Settings dialogue box.
Use the Publish button to make the changes live.
You can still make a Universal Analytics tracking ID if you wish but this is not something covered on this page or video.