- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hi there - I am interested in using Google Tag Manager with various analytics tracking on my Square website and online store. In order to install it you need to install two snippets of code - one in the <head> and one in the <body>. I thought I could do this on the tracking page where there's an option to embed custom code but results are not what I expected. Anyone know if this is even possible? And how to make it work?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hey there @brlouder, and welcome to The Seller Community!
From what I've read of the code, you should be just fine to go to Square.online > Settings > Tracking Tools > Add New Code to add the
<head>
code, there should be no issue with this... You can try the same for the
<body>
code, but as it contains an
<iframe></iframe>
within the
<noscript></noscript>
it is likely it wont be compatible there. Alternatively you can add a custom HTML section to your square online site editor which will allow you to put any code into your
<body></body>
section of the site's code.
Hope this could help, I am a developer, even if I'm not the best, I have a strong understanding of HTML, CSS, and Bootstrap4, with an ever growing knowledge of other coding languages too, so this should be accurate.
PLEASE NOTE: You may need to add the
<body></body>
code snippet to each individual page to ensure accurate tracking.
If this does help, please Mark As Best Answer to help other users in the future when looking for similar solutions! 😎✨
Sign in and click Mark as Best Answer if my reply answers your question!
Shop MJD Photography
Visit MJD Web Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
To track the checkout page and cart page, go to Square.online > Settings > General > Tracking from here you can setup the correct code for each page to track it.
Sign in and click Mark as Best Answer if my reply answers your question!
Shop MJD Photography
Visit MJD Web Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi @brlouder 🙂
The header code will not work in the Embed Code section, and will need to be added under Website > Site Settings > Tracking Tools. There's a section towards the bottom where you can copy/paste the code from Google. You can use this Custom Tracking Code guide to reference.
You won't be able to add the body code to this area, though. I believe it should work in the Embed Code section as long as the header code is removed. If it doesn't, let us know so we can do some more digging.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi Bernadette - Thanks for the response, but this is not what I'm asking. I know you can add the old Google Analytics UA codes under Tracking Tools. I am interested in installing Google Tag manager as described here: https://support.google.com/tagmanager/answer/6103696?hl=en This is not explicitly an option on the Tracking Tools page but seems like it should work under "Add new code". Only it doesn't. 😞
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi Bernadette - bumping up this thread as I have a similar need. I am hoping to install GTM like brlouder. There is no functionality for Google Ads Conversion Tracking and Google is the biggest source of online advertising.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
@brlouder, @macris, please view my reply here https://www.sellercommunity.com/t5/Questions-How-To/Can-I-install-Google-Tag-Manager-on-my-Square-we... to see how this should (hopefully) be possible!
Sign in and click Mark as Best Answer if my reply answers your question!
Shop MJD Photography
Visit MJD Web Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hey there @brlouder, and welcome to The Seller Community!
From what I've read of the code, you should be just fine to go to Square.online > Settings > Tracking Tools > Add New Code to add the
<head>
code, there should be no issue with this... You can try the same for the
<body>
code, but as it contains an
<iframe></iframe>
within the
<noscript></noscript>
it is likely it wont be compatible there. Alternatively you can add a custom HTML section to your square online site editor which will allow you to put any code into your
<body></body>
section of the site's code.
Hope this could help, I am a developer, even if I'm not the best, I have a strong understanding of HTML, CSS, and Bootstrap4, with an ever growing knowledge of other coding languages too, so this should be accurate.
PLEASE NOTE: You may need to add the
<body></body>
code snippet to each individual page to ensure accurate tracking.
If this does help, please Mark As Best Answer to help other users in the future when looking for similar solutions! 😎✨
Sign in and click Mark as Best Answer if my reply answers your question!
Shop MJD Photography
Visit MJD Web Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
It all works fine until I hit the checkout page. It seems the checkout page does not carry the code. I'm trying to set up events using Google Tag Assistant but when I hit the checkout page the Tag Assistant loses the connection to the page being debugged. I tried inserting the UA number and the code snippet in the Setting/General/Tracking/Custom Tracking - Payment Page but it doesn't work... In this section I don't have the same option to insert 2 codes in the <head> and <body> so I just inserted the two codes in the same box splitting like so...
first code </head>
<body> second code
Well, needless to say it doesn't work but I don't know what else to do... I don't know why Weebly/Square don't give us access to the back end html code so we can solve these issues ourselves.
Also, it seems the payment page isn't under the same domain - even though the page is under the same url.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
I’m 60 miles from home right now, I’ll make a post here on how to track the checkout and cart in a few hours 😎✨
Sign in and click Mark as Best Answer if my reply answers your question!
Shop MJD Photography
Visit MJD Web Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
To track the checkout page and cart page, go to Square.online > Settings > General > Tracking from here you can setup the correct code for each page to track it.
Sign in and click Mark as Best Answer if my reply answers your question!
Shop MJD Photography
Visit MJD Web Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
If you read carefully, that's what I did before, but the issue still remains
"I tried inserting the UA number and the code snippet in the Setting/General/Tracking/Custom Tracking - Payment Page but it doesn't work... In this section I don't have the same option to insert 2 codes in the <head> and <body> so I just inserted the two codes in the same box splitting like so..."
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Don’t split them, the code needs to be as it was to be read
Sign in and click Mark as Best Answer if my reply answers your question!
Shop MJD Photography
Visit MJD Web Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi there, I am wondering if you ever found a solution to this? I am encountering a similar problem with getting this to work properly.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi @encirclecafe,
Sorry to hear you are running into issues. Happy to help!
Can you provide more insight into what is going on?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
I follow the instructions exactly as they're explained, yet Google never shows that they're connected. Same with installing Google Tag Manager. I don't understand what it is that I'm doing or not doing in order for this to install properly. It is frustrating.
However today when I've clicked verify on Google Search Console it says this:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Thanks for replying back @ encirclecafe.
Sounds like you have had to spend a lot of energy on this, and understandably frustrating.
Since this is a little more of a complex issue please give me some time to investigate.
I will follow up as soon as I have insight. I appreciate the patience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Just checking in @encirclecafe . I just want to confirm have you checked out @MJD post above giving more insight into how to connect this.
If so, have you also tried contacting the Google Community, see if they have more insight?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
@LOKI did you ever get an answer on this and/or figure it out?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report