Jump to content

TayloredData

Member
  • Posts

    23
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

TayloredData's Achievements

  1. @marcuslieder @millagorilla, I would recommend using Google Tag Manager for this instead of directly injecting this code to your website. GTM has easy to use templates where you can just create a trigger to fire this tag on a certain page or action, and GTM creates the snippet for you. Here's a quick guide about how to add Google Analytics through Google Tag Manager on a Squarespace website. It's a similar process for Google Ads, Facebook Ads, etc. or if you're a video person: Let me know if you have any questions!
  2. Hi @Squarespace_PDX23, I think this plan makes sense! Why would their analytics have a gap as long as the site goes live during off hours for their site visitors? Also, I would definitely advise them to add Google Analytics or an alternative to their website as Squarespace analytics has some limitations.
  3. Hi @Auvz, I recommend using a tool called Google Tag Manager to add Google Analytics to your website (and all of your other marketing code/tags). I recommend adding Google Analytics this way vs. using Squarespace's GA integration for a few reasons: It makes the process simpler and cleaner since its all in one spot. GTM has built-in templates for Google Analytics, Google Ads, etc. so it's easy to set up correctly. You can fully customize your analytics tracking, especially ecommerce analytics in GA4. Squarespace's integration has a lot of limitations (you can read more about them in this blog: limitations of Squarespace's Google Analytics Integration) Here's a quick guide about how to add Google Analytics through Google Tag Manager on a Squarespace website or if you're a video person: cc: @Admacg73
  4. You're welcome and I'm glad you find it helpful! You need to go into your GA4 ecommerce tag and remove "item_variant_color" as a parameter since you aren't using it in your code. Once you delete that parameter and save your tag, you shouldn't see that error again. I've highlighted what you need to remove in my screenshot below:
  5. Hi @sanfly, you're on the right track! The variable name would be item_variant_size 😊 I've updated my blog post to include setting up the data layer variables in Google Tag Manager: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website#ecommerce-event-parameters
  6. Hi @GlynMusica that's not the case. You can't load GTM on the secure checkout page (the page where the user pays) since it's a third party payment system, but you can load GTM on the confirmation page where the purchase values are. Here's a screenshot of my purchase confirmation page with the GTM debugger open. You can see that I'm able to push the purchase data to the data layer:
  7. 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!
  8. Hi @safarih, I created a guide to track ecommerce events--including checkout--on Squarespace sites using Google Tag Manager: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website The code I wrote, creates data layer pushes for each ecommerce event that you can then send to Google Analytics, Google Ads, etc. You can simply copy and paste the code into your own Google Tag Manager containers, just test and ensure it works for your 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!
  9. If this is for Google Ads, @LizzyDizzy @CLH you don't have to create custom code. just use google tag manager. select google ads as the tag type and clicking the button the trigger.
  10. Hi @FreyaPadmore yes, it will double count. I recommend removing GA external API key and only using GTM because GTM offers way more flexibility to track the user interactions on your website (like ecommerce tracking). With the external API key, you're limited to the events Squarespace decides to send to GA.
  11. @TreyC do you care about the button click as a conversion, or are you just using it to identify which page someone came from? If it's the latter, I would just use the previous page report in GA4 for this as it will tell you that out of the box
  12. @Arch-kid @polvoleather I create a guide to track ecommerce events--including add to cart--on Squarespace sites using Google Tag Manager: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website You can simply copy and paste the code into your own Google Tag Manager containers, just test and ensure it works for your 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!
  13. it looks like you were having issues in Universal Analytics, but just in case you're having similar issues with GA4, I wanted to share the custom code and guide I created to track ecommerce on Squarespace sites using Google Tag Manager: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website You can simply copy and paste the code into your own Google Tag Manager containers, just test and ensure it works for your 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!
  14. Hey @LianLim @ParadiseTechsoft @mafzal @jqarthur it looks like y'all were having issues in Universal Analytics, but just in case you're having similar issues with GA4, I wanted to share the custom code and guide I created to track ecommerce on Squarespace sites using Google Tag Manager: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website You can simply copy and paste the code into your own Google Tag Manager containers, just test and ensure it works for your 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!
  15. Hi @f123456, maybe this will help? https://www.optimizesmart.com/google-analytics-recurring-revenue-and-subscriptions-tracking-guide/ Let me know if this doesn't help, and I can try to figure out a solution.
×
×
  • 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.