We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: "Confirmation #XXX was generated for this order." - not tracked in GA

"Confirmation #XXX was generated for this order." - not tracked in GA

colinhall
Shopify Partner
3 1 1

I have this open as a ticket with Shopify Support, but figured I'd keep a record of the issue here to a) see if anyone from the community has any thoughts and b) hopefully post any resolution from the Shopify side for anyone else facing this same issue.

 

The issue is that some orders aren't showing up in Google Analytics correctly, because our GA4 purchase event isn't firing properly (they come through as Transaction ID: not set). I looked into the orders which are affected, and the thing they have in common is a message in the order timeline saying "Confirmation #XXXX was generated for this order."

 

I can see the revenue tracked in GA4, but not as part of the purchase event, and it's missing all the additional data such as Order Name, items, etc. The checkout page is also tracked as:

https://domain.com/checkouts/co/xxx/thank_you

rather than the usual:

https://domain.com/xxx/checkouts/xxx/thank_you

 

Will update as I hear more, but would love to know if anyone has any ideas?

Replies 2 (2)

onescales
Shopify Partner
183 3 19

did you setup your own tracking or use the Shopify google channel to track orders in Google Analytics 4?

Skyrocket Your Shopify Success with Our Proven Step By Step Growth Course

We Teach Shopify and Solve E-commerce Problems.
See our Youtube Channel for Tutorials - https://www.youtube.com/@onescales

TrackingMore_
Tourist
49 0 2

Hi @colinhall 

 

Thanks for your question. I would like to provide some ideas and hope to help you find the root cause of the problem as soon as possible.

 

The GA4 purchase events you mentioned were not triggered correctly, some orders were not fully displayed, and the URL format of the Thank You page was different. This may be one of the core problems. Usually, GA4 purchase events are triggered according to specific URLs. If the Thank You page URLs of some orders do not match expectations, GA4 may not be able to capture the purchase information correctly. You can check whether there are any third-party plugins or custom codes in Shopify that have changed the URL structure of the Thank You page to ensure that GA4 triggers can cover all possible page URLs.

 

At the same time, the problem of GA4 cannot be completely ruled out. This may require checking the specific trigger settings or codes. You can ask more professional people.

 

I hope this can help you.

Seamless and effortless parcel tracking at your fingertips.
The ultimate all-in-one shipment tracking app. Easily integrates with your store and drives repeat sales.
Official Website I TrackingMore Shopify App