Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

how do i add google tag manager tag?

Recommended Posts

how do i add google tag manager to squarespace site?

header code injection doesn't work.

i tried this method, doesn't work either:http://yoweb.co.uk/yo-blog/google-tag-manager-how-to-add-to-squarespace-template

help? thanks!!

Edited by pappasp_1
Initial Revision
Link to comment

Hey, I'm not sure if this is directly what you are looking for, however I have put together a tutorial that explains how to track events in Google Tag Manager. The tutorial specifically focuses on form submissions, but the process could be applied to any event you want to track. Let me know how you get on with it:http://www.atomicmarketing.co/blog/track-squarespace-form-submissions-using-google-tag-manager

Digital marketing consultant at Atomic Marketing. I write about SEO, web design & Squarespace. Passionate about travel and entrepreneurship.

Link to comment
  • 8 months later...
  • 5 months later...

@ pappasp_1

I followed the article you listed: http://yoweb.co.uk/yo-blog/google-tag-manager-how-to-add-to-squarespace-template

It worked for me perfectly well. No issues on web, mobile, or tablet pages.

Here's what I did:

Step 1: Remember to change the 'XXXXXX' in the 'GTM-XXXXXX' to your GTM code though! For both Step 1 and Step 2

Paste this in the Header section of Code Injection in Squarespace.

Step 2:

Paste this snippet of code in the Footer section in Squarespace Code Injection.

Remove the Google Analytics Tracking ID if you've added it in the Settings > Advanced > External Services, Google Analytics area. This is not needed as the Google Tag Manager will directly be using the code you've just added to directly use Google Analytics data.

Voila! You're all set.

p.s Use Google Tag Assistant to check if your tags that you've set up in Google Tag Manager are working!

I referred to this video to set up a quick tag:

Link to comment
  • 1 year later...
  • 1 month later...
  • 3 months later...
  • 1 month later...
  • 1 year later...

This thread seems to be full of spam but in case it isn't GTM can be added with



And you can add to the header and footer as per GTM instructions.

We actually add it to the footer to help with page loading times, and because we don't have any codes that need to fire in the header inside our GTM.

You can also add this to the header:
<link rel='preconnect' href="//googletagmanager.com"  crossorigin>

We provide digital marketing services for businesses that need exposure/sales from search and social media networks. We also build incredibly fast and well optimised multi-language Square Space websites.
Digital Marketing | Marketing Digitale

Link to comment
  • 3 months later...

Hi All I managed to successfully inject GTM code under SETTINGS / ADVANCED / CODE INJECTION /

but when it came to LAUNCH A PREVIEW Tag Manager could not connect to a tag on my domain.  Has anyone experienced the same?  thank you 

Link to comment
  • 2 months later...

We get questions about Google Tag Manager installation on Squarespace a lot so we updated our how-to guide for setting up and installing a GTM container. We're also adding to our section on limitations with GTM and Squarespace (e.g. if you want to use Google Analytics and ecommerce conversion tracking via GTM you're out of luck). Suggested additions to that limitations section welcome!


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...