Skip to Content
LLM Decode learn.llmdecode.com
Back to all resources
SOP-164

How to add Google Analytics 4 to Squarespace

Successfully add Google Analytics 4 to Squarespace without knowing how to code

Type SOPs · PDF
Execution time 5 Mins
Last updated 30 July 2024
Who does this Marketing Manager, marketing consultant, or any person responsible for marketing strategy for your business
Length 7 pages

Ideal outcome

Google Analytics 4 is properly added without any technical issues

Why it matters

Google Analytics 4 is the next generation analytics platform by Google (replacing the legacy platform Universal Analytics). It’s privacy focused as well as better suited to track the customer journey across platforms and devices

Before you start

You need to have an existing Google Analytics 4 account. If you don’t have one, follow SOP 163 (web version) here and create one

Key steps 15 steps

What is inside 18 headings

1 Get tracking ID from Google Analytics 4 6

  1. Login to your Google Analytics account.
  2. Click “Admin”.
  3. Make sure you’ve selected the correct property (website) and select “Data Streams”.
  4. Select your website that you want to implement Google Analytics 4.
  5. Click on the measurement ID to copy it.
  6. You can paste it in a text editor or notepad for now. You will need this later.

2 Add Google Analytics 4 tracking ID to Squarespace 4

  1. Login to your Squarespace account and select a site to edit.
  2. In your site dashboard, select “Settings”.
  3. Then, in the site settings, select “External API Keys”.
  4. Paste the Google Analytics tracking ID that you copied earlier into GOOGLE ANALYTICS and hit Save.

3 Verify your setup inside Google Analytics 5

  1. To test if the tracking code works, login to your Google Analytics 4 account.
  2. You will be taken to your account dashboard.
  3. Head to the real-time report under Report Real-time
  4. Verify the country where the user is from (it should be where you are currently located).
  5. If you see user activities on your real-time report, then you can confirm the Analytics 4 has been implemented successfully.

The document 7 pages

The file is locked

It comes with the SOP Library.

Bought from LLM Decode before? Sign in to pay ₹ 1,999.00.

Up next · SOP-165 Link Google Analytics 4 with Google Search Console Integrate Google Analytics 4 with Google Search Console to view organic search data in your dashboard Unlock to read