Android - How to make a success metric call

visgupta

23-10-2017

Hi,

I have integrated Target into an Android application by following instructions from the following sample: mobile-demo-android/MboxCaller.java at master · adobe-target/mobile-demo-android · GitHub

I am having trouble sending success event for the mbox that I have created. I am not sure how to associate the createOrderConfirmRequest with the mBox for which I want to send the success event.

TargetLocationRequest orderConfirm = Target.createOrderConfirmRequest(name, orderId, orderTotal, productPurchasedId, parameters);

Below is the goal that appears on the Target Overview page for this Activity.

Goal

I want to...Increase Conversion
Measured by...Clicked on mbox <MY_MBOX_NAME>

Regards,

Vishal

Accepted Solutions (1)

Accepted Solutions (1)

Amelia_Waliany

Employee

10-11-2017

Hi Vishal! Thanks for your question. You will want to add the order confirm mbox to your organization:Pasted image at 2017_11_08 02_26 PM (1).png

Viewed an mbox ---> mbox name specified in the code.

Hope this was helpful!

Warmly,

Amelia