Tracking In-App Purchases: Currency and event handling

50 views
Skip to first unread message

alex.g...@gmail.com

unread,
Apr 22, 2016, 10:08:58 AM4/22/16
to CleverTap Support
Hi there,

I would like to track In-App Purchase events and use the price parameter within to drive the revenue graph in the CleverTap dashboard. 

I have two questions:

1) Is there any advantage to using your special "Charged Event" over my own custom "Product Purchased" event.  I would ultimately be passing [SKProduct price] and "Currency" codes in either case, so I don't think it should make a difference but wanted to check.

2) How are we to deal with purchases in different currencies? [SKProduct Price] will return the amount in the user's currency. I also track the currency and country codes, but it seems like your revenue calculations may just look at the "amount" field and blindly sum over all kinds of different currencies.  Do you use the "currency" field to do currency conversion on your own servers?

Many thanks for your help.

Kind regards,

Alex Gingell

Support

unread,
Apr 22, 2016, 2:42:04 PM4/22/16
to CleverTap Support
Hi Alex,

1) Great question. Here are the concrete advantages you get by using CleverTap's "Charged" event vs "Product Purchased":

Charged” is a special event in CleverTap which should be used to track transactions or purchases. It is recommended that businesses that move money (e-commerce, SAAS, gaming, etc.) record the “Charged” event to get the following unique benefits:

  • Ability to use the "Items" collection (a multi-valued event property which is otherwise not allowed with other events) to track the multiple items purchased
  • Charged ID property: This is a special property which is used to ensure duplicate Charged events don’t get recorded in case of network failure or retries. Ideally, set transaction ID or the receipt ID generated at your end as a value of the Charged ID property. The Charged ID property doesn’t get counted towards the property limit.
2) Currency conversion is something you would have to do on your end (within your app/website code before sending us the "Charged" event), since we assume that you use one currency unit to compute and understand your total revenue.

Hope this helps.

Thanks,
Support.
Reply all
Reply to author
Forward
0 new messages