Looking for a method to import app store in-app purchase revenue to Mixpanel using the app store APIs.
The In-App Purchase executes when a user conducts an in-app purchase through your app. You can find further information about the tracking of the event in our iOS code: https://github.com/mixpanel/mixpanel-iphone/blob/dd72e6639eb81a25fa5fb7dae30fc6e2a76c49b3/Mixpanel/AutomaticEvents.m#L119If you're looking for lifetime value, total revenue, or average paying revenue per user then you can use our Revenue report to get this information out of the box. Normally to populate the Revenue report you need to use the method track_charge. You can learn more about how to set this up here. One important callout is that this data is only viewable in the Revenue report though.In my opinion, and Mixpanel's own best practice when it comes to revenue data, you may want to consider just tracking this data as events and/or properties. For example a "purchase" event with properties for price and other relevant data. By doing you have a bit more flexibility in that you can use this data in our other reports such as Funnels and Insights. Within Insights you can see average purchase price and other similar metrics in Revenue but the feature set isn't exactly a 1:1 mapping. Keep in mind doing this though would mean that you cannot use our Revenue report to analyze this data. That said, in my personal experience, I've found having the data available in all of our other reports is more valuable than just Revenue.
Thanks Cherise, this is very helpful!
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.