Promo Campaigns

Learn how to display personalized promo offers to your customers using Adapty React Native SDK

Promo Campaigns help you to increase revenue with targeted offers for your customers. You can use them to upsell, convert freemium users to paid ones, and win back churned subscribers.

To make these work, you need to configure push notifications.

🚧

Make sure to upload the push certificate for iOS and Firebase Cloud Messaging (FCM) server key for Android in an Adapty Dashboard, without them, we can't send push notifications

To get an available promo offers for a user, call getPromo() method:

try {
    const promo = await adapty.promo.getPromo();
} catch (error: AdaptyError) {}

Response parameters:

  • promo: an AdaptyPromo. This object contains an info about the available promo offer. It can be null when there's no offer available

Listening for promo updates

Whenever a user's eligible promo offer list changes, Adapty will hook an event. To receive promo offers updates, use our listener:

adapty.addEventListener('onPromoReceived', (data) => {
  // do something
});

Did this page help you?