Transaction ID not Showing on GA4 Analytics

muaravind
Visitor
2 0 2

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

Replies 12 (12)
Klesitz
Tourist
4 0 6

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.

rknr
Visitor
2 0 0

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?

 

Rghda
Tourist
6 0 2

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

Klesitz
Tourist
4 0 6

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. 

Rghda
Tourist
6 0 2

so what do you think is the solution here?

thefke
Tourist
3 0 2

Same here - do you have an idea which orders are sending the right ones and which arent?

 

Payment type

location

anything?

thefke
Tourist
3 0 2

Shopify will solve it:

 

OrderID will replace OrderName in your Google Analytics Data.

Rghda
Tourist
6 0 2

what exactly did you have to do to achieve this?

Gordon_M
Visitor
2 0 1

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?

thefke
Tourist
3 0 2

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 🙂

Rghda
Tourist
6 0 2

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.

Rghda
Tourist
6 0 2

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?