Send in-app purchases events to Airship

Use your RevenueCat events to send Custom Events to trigger messages with Airship. This means you can design personalized Airship Journeys and Automations based on purchase behavior.

Use the Airship integration to:

  • Trigger messages

    Use events to send notifications and improve retention

  • Send reminders

    Alert users when their trial is about to expire.

  • Upsell at the right time

    Highlight features and improve subscription conversions.

Events

Using our Airship 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

Sample Event

Below is sample JSON that is delivered to Airship for a renewal event

JSON
1[
2    {
3        "occurred": "2021-09-27T15:31:38Z",
4        "user": {
5            "channel": "2ceefb74-f116-49c8-601a-b36ad6ba42d4"
6        },
7        "body": {
8            "name": "renewal_event",
9            "value": 4.503,
10            "properties": {
11                "id": "2F4B1128-CF82-4192-AEB9-9B475393D1A2",
12                "event_timestamp_ms": 1632756861708,
13                "app_user_id": "$RCAnonymousID:281d3889d2aea5579f406bc1f285021f",
14                "aliases": [
15                    "$RCAnonymousID:281d3889d2aea5579f406bc1f285021f"
16                ],
17                "original_app_user_id": "$RCAnonymousID:281d3889d2aea5579f406bc1f285021f",
18                "product_id": "com.my.app.monthly_4.99.1_week_intro",
19                "period_type": "NORMAL",
20                "purchased_at_ms": 1632756698000,
21                "expiration_at_ms": 1632756998000,
22                "environment": "PRODUCTION",
23                "entitlement_ids": [
24                    "pro"
25                ],
26                "presented_offering_id": "default",
27                "transaction_id": "1000000881883259",
28                "original_transaction_id": "1000000884174114",
29                "is_family_share": false,
30                "country_code": "ES",
31                "currency": "EUR",
32                "is_trial_conversion": false,
33                "price_in_purchased_currency": 5.49,
34                "subscriber_attributes": {
35                    "$ip": {
36                        "value": "53.126.228.862",
37                        "updated_at_ms": 1632755230679
38                    },
39                    "$idfv": {
40                        "value": "D0860044-2AFE-7B5E-8175-284C3E46F0C1",
41                        "updated_at_ms": 1632755230678
42                    },
43                    "$airshipChannelId": {
44                        "value": "2ceefb74-f116-49c8-601a-b36ad6ba42d4",
45                        "updated_at_ms": 1632756877789
46                    }
47                },
48                "store": "APP_STORE",
49                "takehome_percentage": 0.7
50            }
51        }
52    }
53]

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