Hello,
If a purchase event is passed on a hit, without the other variables that are expected - products, revenue, and so forth - would that purchase event increment the order count, and essentially pass a null value (like zero) to the other elements that are not found?
We have a case in which the traffic is being sent to two report suites, one of which has an order count nearly twice that of the other, but revenue is exactly the same for the two.
Thanks.
mp
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @nyambol ,
My understanding is purchase event would increment count of order definitely and if s.products variable is not sent along with, the other values would be set as "unspecified".
Do you have order IDs populated along with the order metric? Do you see multiple orders for same order ID? By design event serialization is enabled for purchase event but it's worth checking your implementation once for case like this.
Best,
Isha
Hmm I've never tried, but in theory it should work... I know that the quantity and price in the products notation is dependent on the purchase event, but I haven't heard of anything like a dependency the other way around...
Though, this is the reason why we have Dev builds and suites right? A place to test how things work before it goes into production.
The other possibility, if you aren't sending product info, or transaction ids, etc; would be to just create a custom event for your purchases and not use the pre-defined one....
Thank you both for the helpful replies. Here is a screenshot to display my issue. Orders are being counted with no revenue and unspecified purchase ID. Of course, the latter should never happen; it is possible in the event of an exchange transaction that the revenue might zero out.
My tentative notion seems correct, that the order counter is incremented when the purchase event is logged, and that increment occurs even when the revenue is either nonexistent or 0. Additionally, I speculated that rounding error might be involved - in the above report, Adobe rounds decimal values to the nearest whole dollar. That didn't go anywhere, except to prove that the $0 is actually $0 and not the result of rounding.
Thanks.
mp
Views
Replies
Total Likes
Hi, you will never have revenue if you don't pass "Product" data... Revenue is a calculation of the quantity multiplied by the price in the Products notation (if no quantity is provided, then a quantity of 1 is assumed)... you cannot pass revenue directly.
So if Revenue is important to you, then you will have set up a proper product variable. However, your Orders is incrementing as per the original ask.
If your concern is that Revenue is showing "$0"... that will happen, even if you don't have purchases at all... Revenue is a standard metric configured to currency display, if you never have data going to it, it still exists. If you don't plan on using Revenue, you can hide that metric from users if you are afraid they might use it and see $0, or just tell them not to use it.
As for the "Purchase Id", what you are showing is a custom prop (not the Adobe transaction record, which actually cannot be surfaced in Workspace). How are you populating your Prop12? As this is a custom dimension, it will not be impacted by not having the products notation... this comes down specifically to your implementation, and without seeing your code, we really can't make suggestions blind.
When you were testing your implementation, on the hit with the "purchase" event, did you see your Prop12 populated? Was Prop12 sent on a separate hit; therefore it's not showing in your because the dimension doesn't exist in the context of "orders"?
It looks like you have some values, but iOS (maybe not all iOS) is missing it... is it possible that something is failing intermittently for that device? Is it possible this is coming from your mobile apps - so many your website is working, but your app is failing?
This is going to require more digging on your side, and testing to try and figure out where it's failing.
Hi @nyambol
can you try to place one order from any of the Apple IOS devices in dev environment and
check when purchase event is set s.products variable are capturing values or not.
Some times based on device ISP speed it will not capture and set this values in data layer. because of internet speed that might be the reason.
Views
Replies
Total Likes