Google Sales Channel is Double-Counting begin_checkout event in GA4

arogers2
Shopify Partner
2 0 0

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.

 

Screenshot 2023-12-28 at 10.53.58 AM.png

Replies 2 (2)

TonySarg
Shopify Partner
4 0 3

I'm experiencing this also. Have you discovered anything or resolved this yet?

arogers2
Shopify Partner
2 0 0

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.