Use Analytics with your site

You can collect basic data from your website with Analytics.*

Tip: This section is for new Google Sites. Get help with classic Google Sites.

Step 1: Get an Analytics Property ID

  1. If you don't already have one, sign up for an Analytics account.
  2. Find your Analytics Property ID.

Step 2: Add the Analytics Property ID to your site

  1. On your computer, open a new Google Sites.
  2. In the top right corner, click Settings Settings.
  3. In the “Settings” window, go to Analytics.
  4. Enter a valid Analytics Property ID. It should look like: “UA-XXXXXX-X” or "G-XXXXXXX."

It can take up to 24 hours for data to show up in Analytics.

Step 3: See your data

  1. Open Analytics.
  2. View your data. Find out how to use Analytics.

Tip: Publishing a custom path to a page or renaming a page will create a new URL and might affect data tracking with Analytics.

Classic Google Sites

Tip: This section is for classic Google Sites. Get help with new Google Sites.

Use Analytics with your site

Add Analytics tracking

  1. On a computer, open a classic Google Sites.
  2. Click Settings Settings and then Manage site.
  3. Under "Statistics," click the Down arrow Down arrow and then Use Universal Analytics.
  4. In the text box, under "Analytics Web Property ID," enter a valid Analytics Property ID. It should look like: "UA-XXXXXX-X." To use a Property ID that begins with "G-XXXXXXX," you must convert to new Sites.
  5. At the top, click Save.

It can take up to 24 hours for data to show up in Analytics.

* Please note that Analytics is not subject to the Data Processing Amendment to Google Workspace. Please see the Google Analytics Data Processing Terms for more information.

Was this helpful?
How can we improve it?