MoEngage
Last updated
Last updated
© Purchasely 2020-2023
The minimal version of the Purchasely SDK supporting this integration is 3.6.0. If the Purchasely SDK integrated in your app is under the minimal version, please update it.
The MoEngage SDK also needs to be integrated inside the app.
MoEngage is a leading Customer Engagement Platform.
This integration will allow you to get all the available Purchasely events to MoEngage and get a better and deeper understanding of your subscription business and customer behavior.
Purchasely provides a unified dataset to track the subscription events for all stores. These events are generated by the Purchasely Backend and can be sent to MoEngage.
Subscription events generated by Purchasely will be sent to MoEngage using a server-to-server integration. As a result, you will be able to see all the subscription events in your MoEngage Dashboard and map them with your acquisition campaigns.
The following events are the main ones that can be sent to MoEngage by Purchasely. See the full list here.
The names of events sent to MoEngage can be overriden when setting up the integration.
The integration requires 2 steps:
1 - Associate the user to events by providing the MoEngage Unique Id
to the Purchasely SDK
Swift
Kotlin
2 - Activate the MoEngage integration in the Purchasely Console
See the MoEngage Documentation for more information
The activation requires ${integration_setup_activation_steps_count} steps:
Retrieving your MoEngage APP_ID from MoEngage's dashboard
Retrieving your MoEngage DATA API ID from MoEngage's dashboard
Retrieving your MoEngage DATA API KEY from MoEngage's dashboard
Enabling the MoEngage integration in the Purchasely Console
The APP_ID for your MoEngage account is available on the MoEngage Dashboard in Settings > App Settings > General Settings > Account Settings > APP ID.
Write down your APP ID
The APP_ID for your MoEngage account is available on the MoEngage Dashboard in Settings > App Settings > General Settings > Data API settings > DATA API ID
Write down your DATA API ID
The APP_ID for your MoEngage account is available on the MoEngage Dashboard inSettings > App Settings > General Settings > Data API settings > DATA API KEY
Write down your DATA API KEY
Go in the "External integrations" section, and open the edition form for MoEngage:
2. Enable the integration
3. Set your MoEngage APP_ID
4. Set your MoEngage DATA API ID
5. Set your MoEngage DATA API KEY
5. Enable the events you want to be sent to MoEngage
6. (Optional) Override the names of the events that will be sent to MoEngage
7. Enable the user properties you want to be sent to MoEngage
8. (Optional) Override the names of the user properties that will be sent to MoEngage
9. Save
To test your integration, you can perform a set of in-app purchases in a Sandbox environment (eg: TestFlight for the App Store) and verify your events are received in the MoEngage dashboard https://www.moengage.com.
Event | Description |
---|---|
SUBSCRIPTION_STARTED
Sent when the user purchased a product wether it is the start of a trial or a regular purchase of a consumable product.
SUBSCRIPTION_RENEWED
Sent when a subscription renews
SUBSCRIPTION_EXPIRED
Sent when the subscription actually ends
SUBSCRIPTION_REACTIVATED
Sent when an expired subscription is reactivated. This event is particularly useful for win-back & retargeting campaigns
SUBSCRIPTION_REFUNDED_REVOKED
Sent when the subscription actually ends
RENEWAL_DISABLED
Sent when the user deactivates the renewal of a subscription wether it is in trial period or not.
RENEWAL_ENABLED
Sent when the user reactivates
TRIAL_STARTED
Sent when a trial starts
TRIAL_CONVERTED
Sent when a user converts from a free trial to a normal paid-period
TRIAL_NOT_CONVERTED
Sent when a user finishes it's trial period without renewing to a paid-period