Goal
To add Google Tag Manager to a Squarespace sit e
Ideal outcome
Google Tag Manager is properly installed without any technical issues
Why it matters
Google Tag Manager is a great tool to add and manage multiple pixels and tracking codes without needing to edit the code of a site
Before you start
This works for all Squarespace plans, except the “Personal” plan
Key steps
20 steps
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
What is inside
26 headings
1
Environment Setup
1
- Get the Google Tag Assistant Companion (Free).
2
Grab your Google Tag Manager container code
3
If you don’t have a Google Tag Manager account yet:
6
- Sign up for Google Tag Manager (Free):
- You’ll need to log in to your Google account.
- Under “Where to Use Container”, select “Web”
- Accept the terms and conditions.
- Copy the first snippet of code, you will need it for the next chapter.
- Once, you are in your Workspace, click on Submit > Publish > Continue to publish your Google Tag Manager container:
4
If you already have a Google Tag Manager account:
4
- Login to your Google Tag Manager account;
- On the top header click “Admin” → “Install Google Tag Manager”
- Copy the first snippet of code, you will need it in the next chapter.
- Below the first snippet of code, you will have a second one, copy that code as well, you will also need it for the next chapter.
5
Adding Google Tag Manager to your Squarespace site
5
- Log in to your Squarespace account here;
- Select the website to which you want to add Google Tag Manager:
- On the sidebar click “Settings” → “Advanced” → “Code Injection”
- Paste the code snippets you got from Google Tag Manager, according to the picture below:
- At the top of the page, click “Save”:
6
QA-ing your installation
4
- Open your website homepage using Chrome.
- Click on the Tag Assistant Companion Chrome Extension in your browser.
- Click on “Add domain”
- Check if the Tag Assistant is connected to your site. You should be able to see the below pop-up on your site when it is connected:
The document
8 pages
The file is locked
It comes with 2 DAY GEN AI ENGINEERING MASTERMIND, or
with the full library.
Bought from LLM Decode before?
Sign in to pay
₹ 1,999.00.
Up next · SOP-067
How to add Google Analytics to a Shopify Store
Add Google Analytics to a Shopify store or verify that it is working properly. Understand how your visitors are behaving inside your website
Unlock to read