Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to Implement "orderConfirmPage" mbox for Revenue Tracking with Web SDK Library

Avatar

Level 3

Hello,

We currently use at.js 2.x for our Target implementation. We are considering migrating to the Web SDK. As part of our current implementation, we have some fairly basic revenue/order confirmation tracking logic implemented using at.js (for Target reporting):

 

 

adobe.target.trackEvent({
"mbox": "orderConfirmPage",
"params":{
"orderId": digitalData.itemArray.id,
"orderTotal": digitalData.itemArray.price,
"productPurchasedId": digitalData.itemArray.productId
}

 

How can this be implemented using Web SDK? I assume this is a fairly common use case, but I could not find anything in the documentation. I saw the "trackEvent" comparison here, but did not see any use case really comparable to the above.

 

Thanks.

 

0 Replies