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 tracking ID

  1. Sign up for an Analytics account if you don’t already have one.
  2. Find your Analytics tracking ID.

Step 2: Add Analytics tracking

  1. On your computer, open a site in new Google Sites.
  2. In the top right corner, click Settings Settings.
  3. In the “Settings” window, go to Analytics.
  4. Enter a valid measurement 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 site in 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 measurement ID. It should look like: "UA-XXXXXX-X" or "G-XXXXXXX."
  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?