---
title: "How to Add Google Analytics to Squarespace"
description: "Google Analytics is the ultimate dashboard for website owners, allowing you to watch pageviews in real-time or dive deep into demographic data. And you can add Google Analytics to any Squarespace website, though the option to do so is a little hidden."
image: "https://images.ctfassets.net/lzny33ho1g45/add-google-analytics-squarespa-p-img/ba90cdc874dd111bf18cfee211be4290/file.png"
---

# How to Add Google Analytics to Squarespace

Google Analytics is the ultimate dashboard for website owners, allowing you to watch pageviews in real-time or dive deep into demographic data. And you can add Google Analytics to any Squarespace website, though the option to do so is a little hidden.

[Google Analytics](https://zapier.com/blog/ga4-vs-universal-analytics) is the ultimate dashboard for website owners, allowing you to watch pageviews in real-time or dive deep into demographic data. And you can add Google Analytics to any Squarespace website, though the option to do so is a little hidden. Here's how to find it.

To get started you'll need to [register for a free Google Analytics account](https://marketingplatform.google.com/about/analytics/). Then keep reading to grab your Analytics ID code and add it to your Squarespace page.

## How to Find Your Google Analytics Tracking Code

First, you’re going to need to find your Google Analytics UA code. Head to Google Analytics, open the panel for the site you’re trying to add, then click _Admin_.

Now click _Property Settings_.

You'll find your _Tracking Id_ at the top of this panel.

Keep this tab open, or copy the entire ID, including `UA-` at the beginning.

## How to Add Your Google Analytics Tracking Code to Squarespace

Squarespace actually offers a built-in option for Google Analytics, but it's a little buried. Here's how to find it.

Open [your Squarespace account](https://account.squarespace.com/), then open the site you want to add Google Analytics to. In the sidebar, click _Settings_.

Next, click _Advanced_.

Then, click _External API Keys_.

You will now see a text box where you can paste your Google Analytics ID.

Remember to include the entire ID, including `UA-` at the beginning.