Revenue not being tracked alongside view mbox revenue goal | Community
Skip to main content
Level 2
February 5, 2024
Solved

Revenue not being tracked alongside view mbox revenue goal

  • February 5, 2024
  • 2 replies
  • 1123 views

I'm having difficulties passing revenue through the newer websdk to Target.

 

With a campaign setup with the revenue metric for an mbox `order-confirmation`, I see only a zero value AOV.

 

I'm triggering the event with:

alloy("sendEvent", { "renderDecisions": true, "decisionScopes": [ "order-confirmation" ], "xdm": { "commerce": { "order": { "purchaseID": "a8g784hjq1mnp7", "purchaseOrderNumber": "VAU3127", "currencyCode": "CAD", "priceTotal": 75 }, "purchases": { "value": 1 } } } })

 

This should in theory be the equivalent to previously using at.js, but doesn't seem to be being passed on.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by alexbishop

There is work ongoing to update the docs/process of doing this; however, currently you can include the _experience.decisioning object in the request that you make, and populate that with AT activity data including id, scope & scopeDetails. There is a code example of how you would access that information and populate the id, scope & scopeDetails objects here

So the body of your Edge event would look something like:
 

2 replies

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
February 7, 2024

There is work ongoing to update the docs/process of doing this; however, currently you can include the _experience.decisioning object in the request that you make, and populate that with AT activity data including id, scope & scopeDetails. There is a code example of how you would access that information and populate the id, scope & scopeDetails objects here

So the body of your Edge event would look something like:
 

Level 2
February 8, 2024

Perfect, thanks Alex

Level 2
February 29, 2024

Hi @alexbishop 

By the screenshot attached in your comment, do you mean for each activity we need to send event separtely currently as alloy configuration for revenue goal is yet to be completely configured.
In my case, i see orders coming in for revenue but not other like AOV,total sales etc
Kindly help