CM
ClickMinded SOPKnowledge Base
Search
← All topics

How to add Google Tag Manager to a Squarespace Website

SOP 066: How to add Google Tag Manager to a Squarespace Website Add Google Tag Manager to a Squarespace website and unlock a whole new world of tools and features to power up your website, __Last Upda

source:clickmindedtype:sopserver:clickminded-sopgoogletagmanagersquarespace
Agent trigger phrases: how to add google tag manager to a squarespace website

SOP 066: How to add Google Tag Manager to a Squarespace Website

Add Google Tag Manager to a Squarespace website and unlock a whole new world of tools and features to power up your website,

Last Updated / Reviewed: 07/25/2024

Execution Time: ~5-10 minutes

🚀 Goal: To add Google Tag Manager to a Squarespace site

🤞 Ideal Outcome: Google Tag Manager is properly installed without any technical issues.

🤔 Why this is important: 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.

🧐 Where this is done In your Squarespace admin panel and Google Tag Manager.

🗓️ When this is done: Only once—the first time you install Google Tag Manager.

👨 Who does this: The person responsible for website management or analytics.

__⚠️Prerequisites or requirements: __This works for all Squarespace plans, except the “Personal” plan. 

Click here to get the most up-to-date version of this SOP

Environment Setup

01▸ Get the Google Tag Assistant Companion (Free).

Grab your Google Tag Manager container code

If you don’t have a Google Tag Manager account yet:

01▸ Sign up for Google Tag Manager (Free):

02▸ You’ll need to log in to your Google account.

You’ll be prompted to set up a Google Tag Manager account right away.  You can just use your company/website name for both the account and container. 

03▸ Under “Where to Use Container”, select “Web”

04▸ Accept the terms and conditions.

You will see your Google Tag Manager code.

05▸ Copy the first snippet of code, you will need it for 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.

06▸ Once, you are in your Workspace, click on Submit > Publish > Continue to publish your Google Tag Manager container:

If you already have a Google Tag Manager account:

01▸ Login to your Google Tag Manager account;

02▸ On the top header click “Admin” → “Install Google Tag Manager”

03▸ Copy the first snippet of code, you will need it in the next chapter.

04▸ 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.

Adding Google Tag Manager to your Squarespace site

01▸ Log in to your Squarespace account here;

02▸ Select the website to which you want to add Google Tag Manager:

03▸ On the sidebar click “Settings” → “Advanced” → “Code Injection”

04▸ Paste the code snippets you got from Google Tag Manager, according to the picture below:

05▸ At the top of the page, click “Save”:

That’s it!

QA-ing your installation

01▸ Open your website homepage using Chrome.

02▸ Click on the Tag Assistant Companion Chrome Extension in your browser.

03▸ Click on “Add domain”

Enter your website’s URL and click “Connect”:

04▸ 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:

Note: If connection issues occur, you may refer to this link here to troubleshoot.