Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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'm experiencing this also. Have you discovered anything or resolved this yet?
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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024