Campaigns are logical groupings of paywalls to show when certain triggers are fired and conditions are met. They are an incredibly powerful tool for creating experiments and managing best-in-class monetization flows.
Campaigns consist of three main concepts:
They work as follows:
When certain triggers are fired, evaluate these rules and show these paywalls.
You have granular control over what percentage of the time each paywall is shown, and can even configure no paywall to be shown for certain rules.
In this scenario, every time the
viewed_welcome_screen trigger is fired (either explicitly or implicitly), 50% of users will see the paywall configured, and the other 50% of users won't see any paywall at all. Since the rule is
true, all users will match.
Paywall Assignments Are "Sticky"
Once a user is assigned a paywall within a rule, they will continue to see that paywall unless you remove the paywall from the rule via the X button.
Remember: Changing a paywall's percentage doesn't affect assignments for users who already saw that paywall — to remove assignments you must explicitly click the X button. To remove assignments for users who saw no paywall, create a new rule.
You can also assign multiple triggers to the same campaign — assignments will be sticky regardless of which event triggered the campaign.
Here's an example with two triggers and two paywalls, where everyone sees a paywall:
In this scenario, both
load_feed events will trigger the campaign. 50% of users will see the first paywall, and 50% of users will see the second.
Here's a more complicated example. When
tapped_start_workout is triggered:
- If the user has completed greater than or equal to 3 workouts, always shows a paywall.
- In all other scenarios, show a paywall 50% of the time.
Updated 4 months ago