Discrepancy in data especially in the revenue and transaction number is often as issue for the ecommerce sites that use Shopify. Shopify have a document where they list some possible reasons of these discreapancy https://help.shopify.com/en/manual/reports-and-analytics/discrepancies. However these explanations are not very helpful because they do not contain any practical advice on how this can be fixed. Moreover, most of the shopify users install apps that manage checkout process and are very complicated to debug.
In order to help our clients to increase the accuracy of their Google Analytics data we have developed a custom solution that matches their Shopify transactions with Google Analytics transactions. The clients who use this script have 100% match of their Shopify and Google Analytics transactions.
How we match Shopify orders with Google Analytics transactions
In order to attribute the missed order to proper landing page and traffic source in Google Analytics it’s necessary to create a custom field in the shopify checkout form and store Google Analytics clientId in this field on the checkout page and create the notification on your Shopify store. You also need to have a separate unfiltered view which KL82 bot will use to check if the order data was sent already send to Google Analytics or not.
Good news is that you do not need to configure anything yourself because we can configure all the required features for you.