Purchasely
4.4
4.4
  • Welcome page
  • General
    • Presentation
    • Release notes
  • Quick start
    • Console Configuration
    • SDK Implementation
    • Testing
    • Sample
  • Basic configuration
    • Console Configuration
      • Creating a new application
      • Creating your Products
        • App Store
        • Play Store
        • Huawei App Gallery
        • Amazon App Store
        • Products & Plans
      • Design your Paywalls
      • Design your Paywalls-Latest
        • Carousel
        • Carousel Flow
        • Features List
        • Features List & Plan Picker with 2 & 3 columns
        • Feature list overlay
        • Plan picker horizontal
        • Plan picker with 2 and 3 Column
    • SDK installation
      • iOS SDK
      • Android SDK
      • React Native SDK
      • Cordova SDK
      • Flutter SDK
      • Unity SDK
    • SDK configurations
      • Paywall observer mode
      • Full mode
      • StoreKit 2
      • Appendices
        • Start the SDK
        • Set User Id
        • Notify when the app is ready
        • Present paywalls
        • Unlock content / service
        • Close SDK (Android only)
    • Stripe
    • Purchasely with RevenueCat
  • S2S notifications
    • Server-to-server notifications ?
    • Apple App Store
    • Google Play Store
    • Huawei App Gallery
  • Analytics
    • Dashboards
      • Introduction
      • Live
      • Subscriptions
      • Cohorts
      • Trials
      • Events
    • Events
      • Webhook events
        • Subscription events
        • Subscription events attributes
      • SDK events
        • UI events
        • UI attributes
  • Integrations
    • Webhook
      • Receiving and understanding messages
      • Managing entitlements
      • Detailed sequence diagrams
    • Airship
    • Amplitude
    • AppsFlyer
    • Adjust
    • Piano analytics(ex AT Internet)
    • Batch
    • Branch
    • Braze
    • Clevertap
    • Customer.io
    • Firebase
    • Iterable
    • Mixpanel
    • MoEngage
    • OneSignal
    • Segment
    • Brevo(ex Sendinblue)
  • Advanced Features
    • Asynchronous paywalls
    • NEW: Promotional offers
    • Anonymous user
    • Associating content
    • Audiences
    • Customising UI
      • Errors & alerts
      • Controllers (iOS) / Fragments (Android)
    • Deeplinks automations
    • Disable placements
    • Displaying users subscriptions
    • Localization
    • Lottie animations
    • Non-subscription products
    • Paywall action interceptor
    • Promoting your products
      • Self-promotion
      • Promoting In-App Purchases
    • Purchase manually
    • Subscription status
    • Use your own paywall
  • Others
    • Frequently Asked Questions
    • Migration guides
      • Migrate to Purchasely
      • Webhook
        • Migrate to Webhook v3.0
      • SDK
        • Migrate to SDK v3.0
          • v2.2.0
          • v2.1.3
        • Migrate to SDK v3.1
        • Migrate to SDK v3.2
        • Migrate to SDK v4.0.0
  • TESTING
    • Testing Cycle Durations
Powered by GitBook

© Purchasely 2020-2023

On this page
  • Why combine Batch and Purchasely?
  • General overview
  • Sample automation
  • Integrating Purchasely with Batch
  • 4. Set Batch SDK Custom User ID
  • Setting-up your first automation

Was this helpful?

Edit on GitHub
  1. Integrations

Batch

Batch is a Customer Engagement Platform that allows marketers to communicate with their users and engage with them by creating powerful engagement journeys and workflows.

PreviousPiano analytics(ex AT Internet)NextBranch

Last updated 1 year ago

Was this helpful?

Why combine Batch and Purchasely?

rests on 3 pillars:

  • A comprehensive and real-time end user view

  • A set of multi-channel communication and engagement tools

  • The possibility to measure and analyse the results of the engagement campaigns

Plugging Purchasely and Batch has 3 advantages:

  • can be sent to Batch to complete the end user view with all the transactional data generated by the app stores

  • Communication and engagement automations can then be configured based on these transactional events.

  • Engagement messages can be linked to Purchasely paywalls using to close the loop and manage conversion, upsell or retention campaigns.

General overview

Sample automation

Integrating Purchasely with Batch

The integration requires 4 steps:

  1. Activate the Batch integration in the Purchasely Console

  2. Enable the events forwarded to Batch in the Purchasely Console

  3. Enable the events in the Batch Dashboard

  4. Set Batch SDK Custom User ID

1. Activate the Batch integration in the Purchasely Console

In the Purchasely Console, go to Integration > Batch and enable the integration.

Then carry the Android / iOS Live / Rest API keys forward from your Batch Dashboard to the Purchasely Console.

These parameters can be found in your Batch Dashboard in the following location: Batch Dashboard > You [iOS / Android] app > Settings > General > API Keys

2. Enable the events forwarded to Batch in the Purchasely Console

In the Purchasely Console, under the Server Events thumbnail, you can choose with subscription events must be forwarded to Batch.

(Optional) Events names can be override to match with your tacking plan.

3. Enable the events in the Batch Dashboard

Once events have been enabled on Purchasely's side, they must also be enabled on Batch's side as well.

To do so, navigate to the following location: Batch Dashboard > You [iOS / Android] app > Settings > Custom Data > User events

Note: Purchasely events must have been received at least once on Batch's side to appear in this list of User events

4. Set Batch SDK Custom User ID

This step is very important, otherwise events sent by Purchasely will not be properly associated with users

For example, if Purchasely.userLogin is called with:

Purchasely.userLogin("john.doe")...

Then set Batch SDK with:

Batch.User.editor()
    .setIdentifier("john.doe")
    .save();
...

For more details, see Batch documentation:

Setting-up your first automation

To configure your automations navigate to the following location in Batch:

Batch > Campaigns

To create an automation triggered by a Purchasely event, choose Trigger in the block When.

All the events that have already been received at least once by Batch will appear in the list.

You can then define the message that will be sent and the deeplink associated to it.

If the deeplink matches a pattern handled by Purchasely, it will allow you to:

  • display a specific paywall (for upsell and retention flow)

  • display a cancellation survey

  • notify users that their credit card has expired and send them to their devices settings

The integration of Purchasely and Batch requires the activation of the on Batch side. Please contact directly your Batch account manager to activate the access to this feature.

Screenshot of the Batch Dashboard (January 2022)

Front events triggered by the Purchasely SDK cannot be forwarded to Batch directly from the Purchasely Console. This has to be done at the app level by intercepting the and forwarding them to the Batch SDK.

Configure Batch SDK with the same User ID that is to Purchasely SDK

You can even add a filter (set of condition) on the .

More information in the section .

For more information about Batch Dashboard and campaigns configuration, please refer directly to .

Trigger Events API
SDK events
given
Custom user ID (Android)
Custom user ID (iOS)
event attributes
deeplinks automations
Batch Documentation
Batch
Purchasely transactional events
deeplink automations