How to Connect a Google Site to a Google Analytics Property

Websites and Domains • Ryder Cragie • 22nd June 2022


If you'd like to connect your Google Site to a Google Analytics property for more detailed statistics on how many visitors your site gets, and how people are using your site, follow these steps to do so.

Creating a Google Analytics Property and Data Stream

  1. Go to

  2. Click the settings icon at the bottom left.

  3. Make sure you have the correct account selected on the left. If you have no accounts click the blue "Create Account" button.

  4. On the right, click the blue "Create Property" button and give it a name, then click on "Next" and "Create".

  5. Choose the "Web" option to create a new Data Stream.

  6. Now you will be asked to provide your site URL in the box at the top. Make sure you do not include "https://" in front of it as it will automatically add that protocol for you.

  7. On the right, you will also need to give it a name.

  8. Click "Create stream".

Connecting Google Analytics to Your Google Site

  1. Click the "Use existing on-page tag" tab on the next screen, and expand the "Google Analytics" dropdown.

  2. Here, just next to "4.", you will see a tracking number. Copy this to your computer's clipboard.

  3. Navigate to your Google Sites editor and click the Settings icon at the top right.

  4. Click the "Analytics" tab and paste in the tracking number you just copied.

  5. Click the close button.

You will see a popup at the bottom of the editor to confirm that Google Analytics has been enabled.


After a few days, you'll start to see analytics data appearing on your dashboard at

If you found this article and video helpful, please consider subscribing to my YouTube channel for more content. Thanks!