Event Types
Full JSON schemas for all events partners are available at: https://app.namiml.com/api/v1/events/schema/
device
Events in this category are generated by a specific device using the Nami SDK.
device.impression
This event is produced each time the device presents a paywall screen to the user.
device.session.start
Produced at the start of an app session.
device.session.end
Produced at the end of an app session.
device.transaction
Produced when a purchase is generated on the device.
purchase
Events in this category are generated for a specific purchase.
purchase.updated
Triggered by any change to Purchase.
user
User events are tied to a specific user in the Nami platform.
User event payloads include the following data on the user's current state
A list of the current Entitlements that are active
The current Customer Journey State
A list of all the Devices that currently belong to the user
A list of any External Identifiers associated with the user
Below is an example payload.
user.journey
User journey events describe the journey your app users go on as you try to nurture them towards being sustained paying customers.
trial
Free trials are an important tool in converting users of your app to loyal paying customers. We offer a few events to track this important stage of the customer journey.
user.journey.trial.converted
A user's free trial has ended and they are now paying for their subscription.
user.journey.trial.did_not_convert
The user's subscription has expired and they did not continue as a paying subscriber.
user.journey.trial.started
The user started a free trial.
user.subscription
User subscription events are used to track any changes to a user's subscription status. Since Nami runs both cross-platform and cross-device, we can sync your users' subscription status across platforms.
These events can be used to manage changes to a user's entitlement state as well as provide analytics insights into your subscriber base.
user.subscription.cancelled
User cancelled their subscription. A cancellation is the point at which the user decided to cancel or shut off auto-renewal on a subscription. At this time the user still has access to their entitlement.
user.subscription.expired
User's subscription expired, either because it does not auto-renew, they had previously cancelled, or the payment has not been received. The expired event occurs when the final subscription billing term ends and the entitlement is revoked
user.subscription.in_grace_period
User is currently in grace period with an expired subscription due to the payment failing
user.subscription.paused
User paused their subscription and it will automatically resume at a future time. Android only
user.subscription.pending_sku_change
User has purchased a new SKU as part of an upgrade, downgrade, or crossgrade, but has not been billed yet for that change. The new SKU will go into effect at the next bill term.
user.subscription.purchased
User made a new purchase
user.subscription.renewal_in_grace_period
User was in grace period and the subscription was recovered.
user.subscription.renewed
User's subscription was renewed.
user.subscription.resumed
User re-enables auto-renew after previously turning auto-renew off.
or
User resumed a subscription that had previously been paused. Android only.
user.subscription.sku_change
User has purchased a different SKU that grants the same entitlement.
user.subscription.transferred.from
This event informs you that a user's entitlement was revoked by an entitlement transfer. See Entitlement Transfers below.
user.subscription.transferred.to
This event informs you that a user was granted an entitlement by an entitlement transfer. See Entitlement Transfers below.
Entitlement Transfers
Call loginwhen a user signs up, registers, or logs in to a previously created account.
Please note, there may still be valid purchases on the device. When those entitlements get associated with this new user, we revoke the entitlement on the old user so the old account will no longer have access.
This is done via an entitlement transfer process and our event system will produce two events for you to understand this transfer
user.subscription.transferred.from
user.subscription.transferred.to
which describes which user we revoked the entitlement from, the from
user, and which user was granted the entitlement, the to
user.
Please see Accounts, Login, and Logout for more information about managing user accounts.
Last updated