Send in-app purchase events to Mixpanel

Power your product analytics with in-app purchase and subscription events from iOS and Android.

Use the Mixpanel integration to:

  • Understand users

    Use interactive reports to understand when a user converts and why.

  • Measure feature releases

    Monitor retention impact of new features.

  • Compare metrics

    Easily spot problem areas by store, country, and subscription plan.

Events

Using our Mixpanel integration you can connect the following events:

  • Initial Purchase
  • Trial Started
  • Trial Converted
  • Trial Cancelled
  • Renewal
  • Cancellation
  • Uncancellation
  • Non Subscription Purchase
  • Billing Issues
  • Expiration
  • Product Change
    Try it now

Sample Event

Below is sample JSON that is delivered to Mixpanel for a trial start event:

JSON
1[
2  {
3    "$append": {
4      "$transactions": {
5        "$amount": 9.99,
6        "$time": "2019-07-26T20:48:56",
7        "product_id": "your_product_id",
8        "store": "PLAY_STORE"
9      }
10    },
11    "$distinct_id": "myCustomAppUserId",
12    "$token": "abcdefghijklmnopqrstuvwxyz"
13  },
14  {
15    "$add": {
16      "Total Tracked Revenue": 9.99
17    },
18    "$distinct_id": "myCustomAppUserId",
19    "$token": "abcdefghijklmnopqrstuvwxyz"
20  }
21]
22
23{
24  "event": "Renewal Event",
25  "properties": {
26    "$insert_id": "23456789",
27    "distinct_id": "myCustomAppUserId",
28    "product_id": "your_product_id",
29    "revenue": 9.99,
30    "store": "PLAY_STORE",
31    "subscriber_attributes": {},
32    "time": 1581674623,
33    "token": "123456789abcdefghijk"
34  }
35}

Ready to get started?

We saved 6,000+ engineering hours per year by switching to RevenueCat

Kemal Ugur, Pixery LabsKemal Ugur, Pixery Labs
Read case study