Start with a question
Analytics is useful when it helps you answer something about the site. You might want to know whether visitors reach your contact page, which service page gets attention, or whether a campaign sends people to the right page.
You need editing access to the Google Site and a Google Analytics property for that site. Google Sites asks for the property ID. You do not need to paste a tracking script into the page.
Create or choose an Analytics property
Open Google Analytics and choose the property for this website. If you do not have one, create it first. Google’s Google Sites Analytics guide calls this the property ID.
Copy the property ID
Copy the ID for that property. Check that it belongs to the site you are working on. A property can collect data from more than one place, so a clear name helps you avoid mixing projects.
Add it in Google Sites
Open the site in the Google Sites editor. Select Settings, open Analytics, paste the property ID, then save the setting.
Publish the site
Click Publish so visitors can load the updated version. Open the published URL in a normal browser tab and visit a few pages.
Check Analytics the next day
Google says data can take up to 24 hours to appear. Look for your own visit first, then wait for real visitors before deciding whether a page performs well.
Use the data to improve the site
- Check which pages visitors open first. Make sure those pages explain the offer and give a clear next step.
- Compare your contact, booking or sales page with the pages that send visitors there. If the path is weak, add a direct link or button.
- Review changes after you publish them. Renaming a page or publishing it at a different custom path creates a new URL, so check Analytics after a major page move.
Analytics shows visits. Search Console shows Google Search.
Use Analytics to understand what people do on the site. Use Search Console to check whether Google can find it and which searches bring visitors there.
Get the site into Google SearchRead the Google Sites SEO guide or follow the publishing workflow.