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
1Get tracking ID from Google Analytics 46
Login to your Google Analytics account.
Click “Admin”.
Make sure you’ve selected the correct property (website) and select “Data Streams”.
Select your website that you want to implement Google Analytics 4.
Click on the measurement ID to copy it.
You can paste it in a text editor or notepad for now. You will need this later.
2Add Google Analytics 4 tracking ID to Squarespace4
Login to your Squarespace account and select a site to edit.
In your site dashboard, select “Settings”.
Then, in the site settings, select “External API Keys”.
Paste the Google Analytics tracking ID that you copied earlier into GOOGLE ANALYTICS and hit Save.
3Verify your setup inside Google Analytics5
To test if the tracking code works, login to your Google Analytics 4 account.
You will be taken to your account dashboard.
Head to the real-time report under Report Real-time
Verify the country where the user is from (it should be where you are currently located).
If you see user activities on your real-time report, then you can confirm the Analytics 4 has been implemented successfully.