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
BedrockMission!

Learn More

View all

Sign in to view all badges

How to implement orderconfirmation mbox for nodejs sdk - Serverside implementation

Avatar

Avatar
Level 1
nikhilavk
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
nikhilavk
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
nikhilavk
Level 1

05-08-2020

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

Accepted Solutions (0)

Answers (0)