Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

If you offer different product variations (such as size, color, material, etc) than your integration will slightly be different, please follow the guidelines on the Product Variant page.


Use the the following method when the user purchases one or more products:

HashMap<String, String> parameters= new HashMap<String, String>();
parameters.put("OM.tid","Transaction ID");
parameters.put("OM.pp","Product1 Code;Product2 Code");
parameters.put("OM.pu","Product1 Quantity;Product2 Quantity");
parameters.put("OM.ppr","Product1 Price*Product1 Quantity;Product2 Price*Product2 Quantity");
parameters.put("OM.exVisitorID","memberID/userID");
parameters.put("OM.sys.TokenID","Token ID to use for push messages");
parameters.put("OM.sys.AppID","App ID to use for push messages");
Visilabs.CallAPI().customEvent("Product Purchase", parameters);

TokenID and AppID parameters are optional.

Do not forget to use a universaID/customerID as the userID which you also share with other parties such as your ESP. If you are using a GSM number or an email address instead of a userID please send that info as the userID. Make sure that you share the same ID with all other parties.

Do not use thousands separator when sending numbers. Wrong: 123.456,78 Correct: 123456,78
You must pass the total revenue value to OM.ppr parameter which is the number of items purchased multiplied by the price of a single item.

Parent Topic: Android - MobileTagging

  • No labels