SOP 164: How to add Google Analytics 4 to Squarespace
Successfully add Google Analytics 4 to Squarespace without knowing how to code.
Last Updated / Reviewed: 07/30/2024
Execution Time: 5 Mins
🚀 Goal: Successfully add Google Analytics 4 to Squarespace.
🤞 Ideal Outcome: Google Analytics 4 is properly added without any technical issues.
🤔 Why this is important: 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.
🧐 Where this is done Google Analytics and Squarespace.
🗓️ When this is done: In the early stage of marketing your business or a new product.
👨 Who does this: Marketing Manager, marketing consultant, or any person responsible for marketing strategy for your business.
__⚠️Prerequisites or requirements: __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.
Click here to get the most up-to-date version of this SOP
Get tracking ID from Google Analytics 4
01▸ Login to your Google Analytics account.
02▸ Click “Admin”.
03▸ Make sure you’ve selected the correct property (website) and select “Data Streams”.
04▸ Select your website that you want to implement Google Analytics 4.
05▸ Click on the measurement ID to copy it.
06▸ You can paste it in a text editor or notepad for now. You will need this later.
Add Google Analytics 4 tracking ID to Squarespace
01▸ Login to your Squarespace account and select a site to edit.
02▸ In your site dashboard, select “Settings”.
03▸ Then, in the site settings, select “External API Keys”.
04▸ Paste the Google Analytics tracking ID that you copied earlier into GOOGLE ANALYTICS and hit Save.
You've now added Google Analytics 4 to Squarespace!
Verify your setup inside Google Analytics
01▸ To test if the tracking code works, login to your Google Analytics 4 account.
02▸ You will be taken to your account dashboard.
03▸ Head to the real-time report under Report ➞ Real-time
You should see (at least) 1 active user on the website.