Skip to main content

I need to hardcode to show my secondary offer page like in the example below, but i want to do experiment with this offering too, there is a way to do it ?

  const offerings = await Purchases.getOfferings();
setSecondaryOffersList(
offerings.all[secondaryOffers].availablePackages,
);

 

Hi, the same offering can be used both in and outside of experiments. You can set the offering as one of the two as part of your experiment, see our docs here for how to set this up: https://www.revenuecat.com/docs/tools/experiments-v1/configuring-experiments-v1