Test revenue reporting
Is revenue not appearing in your DY reports? If you are seeing an empty revenue column in a report for a campaign that should be generating revenue, your purchase events may not be sending correctly, resulting in missed revenue in your reports. To test this, try firing a small test purchase in the console based on the format below.
Confirm that you are not seeing purchases for this campaign.
Copy the following event into the console, changing the productID to a valid SKU from your product feed and creating a new, uniqueTransactionID:
DY.API("event", {
name: "Purchase",
properties: {
uniqueTransactionId: "123456", // Will remove redundant events. Must be a string. Max 64 characters.
dyType: "purchase-v1",
value: 0.01,
cart: [
{
productId: "item-34454", // SKU exactly as in the product feed!
quantity: 1,
itemPrice: 0.01,
}
]
}
});
Go back to campaign report, add "revenue" a secondary metric and change timeframe to “today”.
If revenue of 0.01 appears in the report for today, that is a sign that revenue from purchase events is being reported. If this is the case, take a look at how purchase events are being sent on your site and confirm that they are conforming exactly to the guidelines in the Knowledge Base.
Please sign in to leave a comment.
Comments
0 comments