Using the Tag Assistant to test the Google Sales Channel's GA4 tracking, I can see the "begin_checkout" event is being counted twice when the checkout page is loaded. Since this is an automatically tracked event, I'm at a loss for what I can do to make it count only once.
I haven't been able to resolve it, but I have a sneaking suspicion about the problem. We wouldn't be able to do anything about this but I'm hoping we can get some attention from someone at Shopify with the ability to fix this.
If you check the network tab of your Chrome dev tools when this event is fired, there's a script named "trekkie.storefront.min.js" which you can search for in the search bar at the top. Looking at the preview for that request, the "begin_checkout" event is tied to a function that constructs an event object with various properties like product IDs, total value, page type, etc., and then triggers the Google Analytics event. It uses the `startOrder` function, but there's a `startOrderOncePerCheckout` function that it's not tied to. I'm wondering if it should be associated with `startOrderOncePerCheckout` instead.
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024