Jump to content

TayloredData

Member
  • Posts

    23
  • Joined

  • Last visited

Everything posted by TayloredData

  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.
  16. Hey @Boffix @LianLim @ZachFrantz @JJLeathersmith 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!
  17. Hi @Nickrj, Squarespace nor Google makes Google Analytics ecommerce tracking easy ๐Ÿคฆ๐Ÿพ--but it is possible! I was struggling with this same problem, and recently figured out how to implement GA4 ecommerce tracking on my website. Now 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: To make it easier for other Squarespace users, I created a GitHub repo for folks to simply copy and paste the code into their own Google Tag Manager containers: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website. Feel free to use this code on your own website, but since this is custom code, please test and ensure it works for your website ๐Ÿ™‚ Let me know if you have any questions!
  18. Hi @finidush, I don't have a member area but I was able to figure out how to track ecommerce in the regular Squarespace ecommerce functionality. Maybe taking a look at my code will help you repurpose it for the member areas? With my custom code I'm now 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: To make it easier for other Squarespace users, I created a GitHub repo for folks to simply copy and paste the code into their own Google Tag Manager containers: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website. Feel free to use this code on your own website, but since this is custom code, please test and ensure it works for your website ๐Ÿ™‚ If you aren't able to repurpose it for the member areas, let me know if you'd like to set up a consulting call for us to figure it out together! -Taylor
  19. Hi @Pixi, Squarespace nor Google makes ecommerce tracking easy! ๐Ÿคฆ๐Ÿพ I was struggling with this same problem, and recently figured out how to implement GA4 ecommerce tracking on my website. Now 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: To make it easier for other Squarespace users, I created a GitHub repo for folks to simply copy and paste the code into their own Google Tag Manager containers: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website. Feel free to use this code on your own website, but since this is custom code, please test and ensure it works for your website ๐Ÿ™‚ Let me know if you have any questions!
  20. Hi @peyo, did you figure out your tracking issue? I found that I needed to write my own custom code in order to get all of the data I needed in GA4 since Squarespace only sends a limited number of data points in their built-in integration. With my custom 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: Since the secure checkout is a third-party website, we're unable to add tracking to that page, but my code covers all other purchase flow pages. To make it easier for other Squarespace users, I created a GitHub repo for folks to simply copy and paste the code into their own Google Tag Manager containers: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website. Feel free to use the code if you think it would be helpful ๐Ÿ™‚ But since this is custom code, please test and ensure it works for your website. Let me know if you have any questions!
  21. Hi @JasonGee1 @CreativeTechProfessional Squarespace nor Google makes GA4 tracking easy! ๐Ÿคฆ๐Ÿพ I was struggling with this same problem, and recently figured out how to implement GA4 ecommerce tracking on my website. Now 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: To make it easier for other Squarespace users, I created a GitHub repo for folks to simply copy and paste the code into their own Google Tag Manager containers: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website. But since this is custom code, please test and ensure it works for your website. Let me know if you have any questions!
  22. Hey @ebba_emilia I was struggling with this same problem, and recently figured out how to implement GA4 ecommerce tracking on my website. Now 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: To make it easier for other Squarespace users, I created a GitHub repo for folks to simply copy and paste the code into their own Google Tag Manager containers: https://www.tayloreddata.com/blog/how-to-track-ga4-ecommerce-events-on-your-squarespace-website Let me know if you have any questions!
  23. Hi y'all! I am trying to identify and then exclude my internal traffic from my Google Analytics reports. I know Squarespace Analytics has a mechanism to identify internal website traffic, but I can't figure out what cookie or mechanism it is. I imagine there should be some sort of flag when I am logged into Squarespace and on the production version of my website. Any ideas on how to identify my internal traffic?
ร—
ร—
  • 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.