How to use Google Analytics with Squarespace

google analytics squarespace

Add Google Analytics tracking ID to your Squarespace website.

To connect Google Analytics to your site, you need a Universal Analytics tracking ID. See Google's documentation for more information about generating and locating this tracking ID. At this time, Squarespace sites aren't compatible with Google Analytics 4 properties.

To add your Google Analytics tracking ID to your site:

  1. In the Home menu, click Settings, and then click Advanced
  2. Click External API keys.
  3. In the Google Analytics account number field, enter your tracking ID for this site.
  4. Click Save.

It may take up to 24 hours for site statistics to populate in Google Analytics. Hide your own visits Every time you preview a page when you're logged in, Google Analytics registers it as a pageview. If you don't want data from your visits mixed in with data from visitors, you can exclude your IP address

Do you have a question you'd like answered here?

Send your question or a topic you'd like answered.