Skip to main content
Question

Make Experiments without current

  • 11 July 2024
  • 1 reply
  • 12 views

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,
);

 

This post has been closed for comments

1 reply

Userlevel 4
Badge +8

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