Skip to main content
Question

Make Experiments without current

  • Jul 11, 2024 1:58 PM UTC
  • 1 reply
  • 416 views

Forum|alt.badge.img+5

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

Forum|alt.badge.img+8
  • RevenueCat Staff
  • Jul 15, 2024 2:28 PM UTC

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