Jump to content

Trying to detect BUY and CHECKOUT clicks via GTM

Recommended Posts

  • 4 months later...
  • Replies 1
  • Views 2.4k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi @DavidA888

You should be able to do something like: 

Fire this trigger when an Event occurs and all of these conditions are true

  • Click Classes > contains > cart-checkout-button
  • Click Classes > contains > shopify-buy__btn

Additionally, I create a guide to track ecommerce events--including add to cart and checkout--on Squarespace sites using Google Tag Manager: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website

Once I implemented this code, I'm able to measure how many people view my products, select a item, add to cart, remove from cart, begin checkout, and make a purchase in GA4:





Let me know if you have any questions!

Data Nerd 🧑🏾‍💻|  I help businesses transform data into actionable insights & sales | Chat with me about your website + marketing analytics challenges: TayloredData.com

Prefer video tutorials? Check out my latest marketing and web analytics how to videos

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.