User IDs are used to uniquely identify the participants in your experiments or flag deliveries. Supply any string you want for user IDs, depending on your test design. UserIDs ensure that a single user isn't randomly re-bucketed every time they see your experiment. In other words: a user always gets the same flag variation or flag on/off experience.
For example, if you're running experiments on anonymous users, you can use a first-party cookie or device ID to identify each participant. If you're running experiments on known users, you can use a universal user identifier (UUID) to identify each participant. If you're using UUIDs, you can run tests that span multiple devices or applications and ensure that users have a consistent treatment.
User IDs don't necessarily need to correspond to individual users. If you're running tests in a business application, you may want to pass account IDs to the SDK to ensure that every user in a given account has the same treatment. Alternatively, you can use bucketing IDs to ensure these users get a consistent experience.
Ensure user IDs are unique: User IDs must be unique among the population you are using for tests. Optimizely buckets users and provides test metrics based on the user IDs that you provide.
Anonymize user IDs: The user IDs you provide are sent to Optimizely servers exactly as you provide them. You are responsible for anonymizing any personally identifiable data such as email addresses in accordance with your company's policies.
Use IDs from third-party platforms: If you are measuring the impact of your tests in a third-party analytics platform, we recommend leveraging the same user ID from that platform. This helps ensure data consistency and make it easier to reconcile events between systems.
Use one namespace per project: Optimizely generally assumes a single namespace of user IDs for each project. If you are using multiple different conventions for user IDs in a single project (for example, anonymous visitor IDs for some tests and UUIDs for others), Optimizely will be unable to enforce rules such as mutual exclusivity between tests.
Use either logged-out or logged-in IDs: Optimizely doesn't currently provide a mechanism to alias logged-out IDs with logged-in IDs. If you are running tests that span both logged-out and logged-in states (for example, test on a signup funnel and track conversions after the user has logged in), you must persist logged-out IDs for the lifetime of the test.
Quickly conduct a vendor bake off or to test performance by using a request ID as a user ID. For an example of how Optimizely dogfoods this approach, see Using experimentation to measure and validate backend performance improvements.
Optimizely's SDKs do not access any user data or identifiers that are not explicitly passed in via instrumented API calls.
As a result, we do not have any direct dependency on or SDK changes planned to accommodate Apple's upcoming changes to its privacy disclosure and opt-in policy related to their ID for Advertisers (IDFA).
Optimizely does not link user data with third-party data for advertising or advertising measurement purposes, or share data with data brokers.
Starting September 2020, Optimizely offers monthly active users MAU pricing as an alternative to impressions pricing. This plan includes a number of MAUs whose unique user IDs appear in calls to Optimizely's SDKs in a given month. Optimizely counts a monthly active user each time one of the following occurs for a unique user ID:
- When a Decide method is called and a decision event (aka impression) is triggered
- When the Track Event method is called and a conversion event is triggered
The MAU count includes unique anonymous IDs. If you use both Optimizely Web and Optimizely Full Stack, you can override anonymous Web user IDs with known Full Stack user IDs to avoid overcounting. For more information, see Bring your own ID.
Users are counted even if they receive a disabled flag as a result of a Decide method, because a decision event was still sent.
For more information, see What are monthly active users.
Updated almost 2 years ago