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

The 1st edition of the Target Community Lens newsletter is out now! Click to the right to find all the latest updates
SOLVED

Android - How to make a success metric call

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

2 Replies

Avatar

Correct answer by
Administrator

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

Avatar

Level 1

Thank you. I followed up on your suggestions and created another mBox. Thanks.