Shopify tracks ecommerce conversions automatically in analytics upon setting Universal Analytics in shopify admin and having "Enable Ecommerce" checked in analytics.
Transaction Id in google analytics ecommerce conversions is "Order Number" from shopify which can be seen in shopify admin -> orders. These transaction ids are prepended by "#" for eg. "#123456"
From last few days (after 07-Mar-2017) we can see checkout id's been tracked in analytics ecommerce conversions instead of order number. for e.g. "14379526045"
What are the scenarios where checkout id's get tracked instead of order number in analytics ecommerce conversions. We can see same issue for all of our shopify clients..
Hey there Anil,
I've spoken to our escalated support team, as well as Google support about this issue. I was able to observe the two different Transaction IDs in previous results from my test store, so it's certainly not limited to your sites, but my new test sales weren't able to force Analytics to display the checkout ID number - they display only as the Order number.
Google support suggested it may be an issue with the way Enhanced Ecommerce interacts with Google Analytics, but that they don't support Enhanced Ecommerce at this time. Their suggestion was to disable EE and observe how the data changes to see if this makes a difference. My recommendation is to do this, and then reach out to email@example.com with the results so that we can do some more specific troubleshooting.
I hope that helps! If you have any other questions please feel free to email, call, or chat us up - the Guru team is here 24/7 to help you out!
Have a super day!
Alan | Shopify Guru
This is a Shopify bug that happens for all stores and needs to be corrected. It probably occurs to 1 out of every 10 orders. Another known problem: The loss of cookie information when users go from checkout.shopify.com to the store is also something else that needs to be addressed as it causes traffic attribution (direct) / (none) and stat bloating. The breadcrumb links need to be populated with the _ga query string variable.
This is the response I got from Shopify's Support.
"This can happen if the customers who placed these orders were forwarded to the order thank_you page before an order number was available. In certain cases, while a customer is checking out, it is possible for their payment to finish processing while Shopify is still processing the order and generating the order number. When this happens, the customer is forwarded to the thank_you page instead of being left on the processing page staring at a spinning wheel, and since the order number isn't available the checkout_id is sent to Google instead. There is no workaround for when this happens however as I am sure you have already discovered you can search your Shopify Admin for these checkout ID's and they will bring up the correct order (you can also see the checkout ID in the very first entry of the order timeline)."
Hope that helps