Jump to content

Ecommerce Tracking using GTM

Recommended Posts

I am trying to set up ecommerce tracking using GTM.  I have injected the code in the header and footer (in the code injection area).  Do I need to add a dataLayer code as well in the confirmation page as well?  And will squarespace allow this code to fire on the confirmation page?  
 

I have read the best way to do it is input your Measurement ID key in the integration and squarespace should be passing the transaction info through to your Google Analytics property, but mine isn't showing any transaction in either UA or GA4 through this method.  

Link to comment
  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi @JasonGee1,

How is the setup going? Do you have a goal in mind of what you'd like to track? 

I'm working with an e-commerce brand to set up a Pinterest tracking pixel through GTM, and it sounds like we're working on similar things! I haven't seen any recommendations as far as putting GTM on the confirmation page. In regards to my application, I didn't find the datalayer codes helpful.

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

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.