Jump to content

Recommended Posts


I have implemented google tag manager and google analytics 4 on my website and have some tracking running. I cant seem get  common e-commerce data. I have implemented "view_item" and "add_to_cart" tracking but it wont show in GA4. I have created a custom event in GTM. But in the preview mode I cant find any such event firing. I can se purchases though, both in the GTM preview mode and in the GA4 data. 

I have Squarespace Commerce Basic Plan.

I'm pretty new at this and followed a youtube tutorial. I think it was this one: 


Edited by ebba_emilia
Link to comment
  • 3 weeks later...
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

The current integration for GA4 is very poor.

Standard page_view events aren't being passed over and for the "events" they passover like purchase they are missing many parameters you'd expect to see in GA4 ecommerce reporting. As well the attribution is broken with all events reporting as direct (event with referral exclusions configured and added as domains in the data stream) Some pageview include a page title but are missing the page_location) 

If you are looking to track where users are coming from acuity doesn't seem to be the platform to use.

Link to comment
  • 2 weeks later...

I also see this JSON in the html code which you can try and grab as variables to reuse in GTM.


"name":"Free Introductory Class (18Jan23) \u2014 Advanced Coaching Practicum",
"brand":"Advanced Coaching Practicum",

Link to comment
  • 3 months later...

Static.SQUARESPACE_CONTEXT, script[type="application/json"] for cart and checkout data, meta tags, and certain attributes like data-test, data-testid, and data-content-field can be utilized to gather collection and product details. However, it is important to note that some Squarespace themes utilize AJAX for page handling, which can potentially complicate the process of data collection.

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.