Expand my Community achievements bar.

Join Cristinel Anastasoaie, Timothy Furlow, and Brent Kostak, WEDNESDAY, 2/28/24 @8am PT for the next Adobe Target Community Q&A Coffee Break on topics from the recent High Performance Recommendations Webinar PT 2 of the ongoing Target Personalization Maturity Webinar Series

How to implement orderconfirmation mbox for nodejs sdk - Serverside implementation

Avatar

Level 1

we are trying to implement orderconfirmation mbox for nodejs sdk. We are getting the click count for this metric. Is there any syntax change or anyone help us with the work flow of orderconfirm mbox for server side. Sample code below,

var clickNotificationData = {
"id": "bannerThreeClick",
"mbox": { "name": $(this).attr('mbox-name') },
"params":{
"orderId": "125",
"orderTotal": "450",
"productPurchasedId": "26"
},
"tokens": [$(this).attr('mbox-token')],
"timestamp": parseInt(new Date().getTime()),
"type": "display",
}
nodeApi('/notification', {
mboxes: [clickNotificationData],
"visitor": _satellite.cookie.get("AMCV_" + _satellite.company.orgId)

THanks,

Nik

0 Replies