Hello all,
I am facing a issue regarding capturing the Orders and Units metric data properly.
For some orders (not for all, some are perfectly capturing correct data), for an OrderId, Orders value is showing as 2/3 instead of 1, Units is showing as double i.e if I have ordered 2 units, its showing as 4, like that.
We are using:
If anyone can help and guide me to solve this, that would be very great.
Thanks in advance.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
I would first go back to your actual tagging.. This looks like your analytics may be firing twice, possibly due to timing conditions during your purchase flow?
When/How are you triggering your Order? You might need to check with your developers what the purchase flow is doing?
For instance, let's say your trigger is on DOM Ready... if the developers have a page load, then reload to maybe show the confirmation to the user, you might be triggering the tracking twice for the order...
Without seeing the flow and seeing the behaviours, it will be very hard for us to diagnose...
Adobe does have a special dimension for PurchaseID which is designed to de-duplicate repeated order ids....
If you look in the configuration of the Revenue, Orders and Units events, you will see they have this configuration:
This means that if you pass your order id to "PurchaseID", then if your tracking happens to send it twice, the second time will be ignored as a duplicate.
These purchaseIDs are for all time, so be sure that they are unique.
If you use this, at least you shouldn't see duplicate orders in your data... but if you are still concerned about sending duplicate server calls; you can still dig into testing your flows and try to figure out what is causing the extra tracking in some cases (but that will be a deep dive testing effort).
I would first go back to your actual tagging.. This looks like your analytics may be firing twice, possibly due to timing conditions during your purchase flow?
When/How are you triggering your Order? You might need to check with your developers what the purchase flow is doing?
For instance, let's say your trigger is on DOM Ready... if the developers have a page load, then reload to maybe show the confirmation to the user, you might be triggering the tracking twice for the order...
Without seeing the flow and seeing the behaviours, it will be very hard for us to diagnose...
Adobe does have a special dimension for PurchaseID which is designed to de-duplicate repeated order ids....
If you look in the configuration of the Revenue, Orders and Units events, you will see they have this configuration:
This means that if you pass your order id to "PurchaseID", then if your tracking happens to send it twice, the second time will be ignored as a duplicate.
These purchaseIDs are for all time, so be sure that they are unique.
If you use this, at least you shouldn't see duplicate orders in your data... but if you are still concerned about sending duplicate server calls; you can still dig into testing your flows and try to figure out what is causing the extra tracking in some cases (but that will be a deep dive testing effort).