Hello all!
We have just inserted the GA4 code into the Google channel app, but we receive duplicate transactions, with different IDS. So the same transaction is coming twice into GA4 , but with diff ids.
We don’t have any other scripts in the checkout settings or in the customer events section.
Anybody else facing the same issue?
What I’ve found in the Thank-you page source code is this line:
window.ShopifyAnalytics.lib.track(“Completed Order”,{“checkoutId”:27215823077546,“orderId”:5145860243626,“orderName”:null,“total”:“180.00”,“revenue”:“180.00”,“shipping”:“0.00”,“tax”:“28.74” [and so on]
And these 2 ids are coming for each of those duplicate purchase:
1 purchase with transaction id: 27215823077546
and same purchase again, but with transaction id: 5145860243626
Thanks all!
Ana