Define your experiment's audience

This article helps you:

  • Specify which users will be able to see your experiment

  • Limit experiment exposure based on user segments

Now that you’ve defined the events that make up your experiment, you’ll need to define who's eligible for bucketing into the experiment. In the Audience section of the experiment design panel, you can choose to open eligibility up to all users, or you can target specific groups of users.

Note

Users still must trigger the exposure event before entering the experiment, no matter what choice you make here.

Targeting groups of users is useful if you’d like to limit experiment exposure to users in a specific geographical location, or those who belong to certain demographic groups, or those who meet certain usage thresholds in your product (like power users). To do so, you’ll define a user segment to target, by selecting Targeted Users and clicking into Segment 1. Then follow the same steps you’d use to build a user segment in Amplitude Analytics:

  • To target your experiment based on cohorts, select Cohort and choose a cohort you already created in Amplitude Analytics. Amplitude evaluates and updates cohort once an hour.
  • To target based on user properties from Amplitude Analytics, select the user property you're interested in and enter the appropriate values. User properties come from the end user profile maintained by Amplitude Analytics, and update based on your analytics instrumentation. (If you need to evaluate user properties in real-time, add the value of the user property to the context you pass to the SDK or REST API.)
  • To target based on custom user properties (like properties that don't exist in Amplitude), type the user property name into the dropdown and enter values to match on for the property. (Rules containing custom user properties can only evaluate against values explicitly defined in the context passed to the SDK or REST API, since Amplitude doesn't know about these properties otherwise.)

Add more segments by clicking + Add Segment.

All Amplitude user properties and cohorts are available to use in defining user segments. Note that the value for any user property included in a rule-based user segment is always the most recent value received by Amplitude.

Note

Amplitude Experiment doesn't support the use of transformed properties in targeting.

There is no limit on the number of user segments you can include here. Any user who belongs to more than one segment included in an experiment is assigned to the first one they match. 

Note

Caching expiration differs with the properties you use to define user segments. All user properties always include the latest values your product has sent, defaulting to the most recent value if Amplitude hasn't received your product’s data. Cohorts sync every hour.

The next step is setting up your experiment’s variants.

Was this page helpful?

Thanks for your feedback!

September 10th, 2024

Need help? Contact Support

Visit Amplitude.com

Have a look at the Amplitude Blog

Learn more at Amplitude Academy

© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.