Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have a shopify clients we have followed the article https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/pixel-tracking-post-purchas... and placed the GA4 ecommerce tracking on the site. We are facing issue on ecommerce tracking.
1) The Transaction IDs are not showing in GA4
2) Revenue mismatch GA4 and Shopify
Anyone help me to fix these issues
I see revenue mismatch for 2 reasons: 1- Missing Orders in GA4 2-GA4 doesn't include shipping and tax in revenue but UA does.
How do you know you have no transaction IDs? Does it say "not set" in GA4 when you create an exploration to list them? I have a mix of shopify orderid and transactionid & not sure why.
I am seeing (not set). Before the native GA4 I am using gtag for GA4 to send the transactionID as custom Dimension. After I switched it to native version, I stopped seeing the transactionID getting populated. Wondering if any one knows how to turn that on?
i have a similar issue when i create an exploration. The transaction ID for some orders is a 14 digit number instead of a 5 digit number after a #. The strange part is that only some orders are like that while others are fine.
Do you have any idea how to fix this?
Thank you
This is Shopify issue. The long # is checkout ID. It is assigned b4 order#. You can find it if you look up orders in shopify but you can't search on it. So there is a timing issue firing to GA. I checked my parallel UA account and it's there too. So not a new GA4 issue. My main concern is all the dropped orders. Compare Shopify online store to GA.
so what do you think is the solution here?
Same here - do you have an idea which orders are sending the right ones and which arent?
Payment type
location
anything?
Shopify will solve it:
OrderID will replace OrderName in your Google Analytics Data.
what exactly did you have to do to achieve this?
Are you saying that Shopify is going to fix this on their end, or that we should update our code to specifically populate the transaction ID with OrderName (not orderID) when setting the purchase datalayer event?
Hey Gordon,
i contacted shopify support and got the answer that they are going to change the integration for all shopify shops.
OrderID will replace OrderName in your Google Analytics Data
Changes are done step by step till end of June 29.06 all sources should have been updated and only ORDERIDs should be pushed to the GA4 Integrations.
So for the time being we need to wait 🙂
Thank you for this information.
Do you know if this change would fix the discrepency problem between Google Analytics and Shopify? Because my orders in shopify are sometimes up to 50% more than in GA4.
Also, when this change is made, would we have to also make changes to the purchase data layer on Shopify which we add for the purchase event?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025