website builder cheat sheet

Choose the best website builder for your business

The Cheat Sheet that shows you exactly which website builder to choose based on your needs with bonus on how to get free custom domain, free email hosting, and more.

Get the FREE cheat sheet
website builder cheat sheet

How to add Google Analytics 4 (Updated 2024)

By David NgeLast Updated: February 19, 2024

My work is supported by affiliate commissions. Learn More

Great news! Squarespace has recently added native support for Google Analytics 4 which makes it easier to integrate the two platforms.

It's also great timing now that Google has officially announced the retirement of Universal Analytics (the previous generation of Google Analytics).

Here's a step-by-step guide on how to add Google Analytics 4 to Squarespace.

In summary, we'll go over

Note that this method works for both Squarespace version 7.0 and 7.1.

Let's dive right in.

Get tracking ID from Google Analytics 4

This step assumes you have created a Google Analytics Property for your site, if not then follow Google's documentation here.

Head to your Analytics dashboard, select Admin.

Select Admin from the Google Analytics 4 dashboard
Select Admin from the Google Analytics 4 dashboard

Then in your Admin dashboard, under Data Collection and modification, select Data Streams.

Select Data Streams from the admin dashboard
Select Data Streams from the admin dashboard

Select your website.

Select your site
Select your site

Click on the Copy icon next to the Measurement ID to copy your Google Analytics 4 tracking ID.

Copy the Google Analytics 4 tracking ID
Copy the Google Analytics 4 tracking ID

Paste it in a notepad or a text editor, you will need this later.

Now head over to your Squarespace account.

Add Tracking ID to Squarespace

First, login to your Squarespace account and select a site to edit.

Select a site to edit in Squarespace
Select a site to edit in Squarespace

In your site dashboard, select Settings.

Head to the Settings page
Head to the Settings page

Then, click Developer Tools from the sidebar and select External API Keys.

Select advanced settings page
Select Developer Tools

Paste the Google Analytics tracking ID that you copied earlier into GOOGLE ANALYTICS and hit Save.

Add the Google Analytics 4 tracking ID
Add the Google Analytics 4 tracking ID

You've now added Google Analytics 4 to Squarespace!

It takes about 24 hours Google Analytics to start populating results in your dashboard, which you can see in the home screen.

Sample Google Analytics 4 home dashboard
Sample Google Analytics 4 home dashboard

David Nge

David is the founder of MakingThatWebsite.com and started making websites for businesses back in 2014. He's a keen learner and wants to share his journey and knowledge with other business owners and freelancers. He launched MakingThatWebsite.com in 2021 to make website building more approachable and scalable for businesses.

Have a tutorial you want to learn? Leave a suggestion here.