Adapty integration

Enhance user engagement by updating profile Tags in Pushwoosh with subscription events from Adapty. Follow the steps below for seamless integration.

Overview and use cases

Adapty is a mobile app subscription management and monetization platform.

By integrating Adapty with Pushwoosh, you can pass any subscription-related events and paywall interactions from Adapty to Pushwoosh. There, you can initiate targeted campaigns to engage your user base, promote upsells and stimulate renewals.

Thanks to this integration, subscription businesses can make their communications more efficient and achieve a substantial revenue uplift.

Setting up the integration

  1. Start in your Adapty account

Navigate to the Integrations section, select Pushwoosh, activate it by switching the toggle from off to on, and then complete the necessary fields.

  1. Go to Pushwoosh to set up essential credentials

Establish a connection between your Pushwoosh and Adapty accounts by setting up credentials. This requires your Pushwoosh App ID and authentication token.

  1. Locate your Pushwoosh credentials

  • App ID: Found in the Pushwoosh dashboard.

  • Auth Token: Located in the API Access section of Pushwoosh Settings.

  1. Configure Events and Tags

Below the credential settings, you'll find options to select and rename various event groups from Adapty to send to Pushwoosh. Review and choose the events you need. For a comprehensive list of events available in Adapty, refer to their detailed guide.

Adapty handles the transmission of subscription events to Pushwoosh through a server-to-server integration, allowing full visibility of these events in your Pushwoosh Dashboard.

  1. Enable customs Tags

Enhance your Pushwoosh integration with Adapty by utilizing custom tags. These tags can be tailored to your specific requirements, as outlined below:

  • adapty_customer_user_id: A unique user identifier from Pushwoosh.

  • adapty_profile_id: Unique Adapty User Profile ID, visible in the Adapty dashboard.

  • environment: Identifies the user's environment, either 'Sandbox' or 'Production'.

  • store: Indicates the purchasing store ('app_store' or 'play_store').

  • vendor_product_id: The product ID in the Apple/Google store.

  • subscription_expires_at: The latest subscription's expiration date, in a specific format.

  • last_event_type: Type of the most recent event from Adapty.

  • purchase_date: Date of the last transaction, in a specific format.

  • original_purchase_date: Date of the first purchase, in a specific format.

  • active_subscription: Indicates the subscription status.

  • period_type: Latest period type of the purchase or renewal.

Additionally, you can integrate custom attributes for greater tracking flexibility. On the integration page on Adapty's side, mark the 'Send user custom attributes' checkbox for automatic transmission to Pushwoosh.

  1. Required: Configure SDK

To complete the integration, send the HWID value from Pushwoosh to Adapty:

let params = AdaptyProfileParameters.Builder()
    .with(pushwooshHWID: Pushwoosh.sharedInstance().getHWID())
    .build()

Adapty.updateProfile(params: params) { error in
    // handle the error
}

Last updated