I am checking sales orders for a shopify website. I’m seeing a completed order in the Shopify backend AND seeing a session that happened at the same time which concluded with the Shopify “thank you” page but, two hours later, the order isn’t showing up in the Ecom reports. Why might this be? crimsoncup.piwik.pro
Attached is the raw log that shows the session ending in a purchase but did not appear in any of the Ecom reporting. shopify_piwik_pro_session_log.pdf (469.6 KB)
you have misread what I posted. Yes, I do have a conversion tracking set up which I know is not a proper e-commerce function. But that is not where the issue lies. This purchase did not show up in any of the e-commerce reports. As far as I can tell, all of the other orders for yesterday properly showed up in the e-commerce section.
Well the event you pointed out in tracker debugger is a goal and not ecommerce order, so if the transaction should be an ecommerce event then it’s not tracked at all.
Here is the example of ecommerce event in tracker debugger:
So the issue is not that data does not go from tracker debugger to Analytics. The problem is that the data is not send to tracker at all. Are you able to check what happens on the website when this particular order should happened?
I spot checked a couple of other purchases in the tracker debugger that did show up in Ecom reporting and, while the product was different, the session log is basically the same: product view, view cart, view thank you page. And the product revenue field says $0.00.
What are you trying to say? That having a goal set-up is interfering with recording the transaction? I’m going to say no to that because it appears that all other purchases were successfully tracked as both a goal and event.
No, goals do not block ecommerce events, so I don’t think that’s the case. There must be something different that happens with this particular product purchase compared to the other ones. Hard to say what exactly. Can you check if when this order that is not tracked then in tracker debugger there is a broken event?
Steps to help with debug process:
Replicate the issue, so that this goal is visible in tracker debuger.
Search for event type broken event in tracker debugger (it will not be connected to any session so you won’t see broken event in the session that goal was collected)
If there is an ecommerce related broken event that might help with figuring out what exactly happens here.
But the issue is that the ecommerce order is not fired for this particular product. So that’s what we need to figure out.
Getting closer to figuring out the issue and confirming what you said. The Ecom site in question is very low sales - only 12 yesterday. Here’s are the purchase numbers from yesterday:
Shopify - 12
PP Goal conversion tracking - 13 (an extra one happens occasionally, I don’t worry about it)
PP Ecom reporting - 10 orders
Thus, two orders yesterday did not get reported in the Ecom section of PP.
For the 10 orders that got captured in both Ecom and Conversion tracking, the session log contains both of these:
For the two orders that are not in the Ecom report, the session logs do not contain the order data. For those two orders, the products were NOT the same.
I will keep track of Tracker Debugger today and report back when I find this issue again.
I think that I have identified the cause but I have no idea why this happens: I am seeing TWO different “thank you” URL structures from Shopify. The URL structure that contains “/cn/” without an order number does not get recorded in the Ecom reports. Two examples below. Why is Shopify using two different URL structures?? And, is this something that PP should catching? Do my tags need to be modified to account for “cn/”? (I think that the answer to my last question is yes, the order confirmation tag needs to be modified to respond to the different URL structure.)
I’m not much of a coder but I’m pretty sure that the data collection process, either in the tag or in the PP backend, could be altered to use some sort of logic like “if order id field is blank, use NOT SET for order id”
I have discover that, in Shopify, the URL appears to not be the cause of no order ID.
I had a multiple orders today where the thank-you URL included /cn/ and not the order #. Despite this, Piwik Pro got the order information! Does this mean that the order ID is sent via the data layer??
Page view
Page title: Thank you for your purchase! - Crimson Cup Coffee - Checkout