Create a local evaluation flag
Create a local evaluation flag, or migrate an existing remote evaluation flag to local evaluation.
Create a local evaluation flag or experiment
- Create a flag or experiment, but select Local for the Evaluation Mode setting.
- In your new experiment, set your server-side deployment, configure the allocation (for example, target 100% of users), and activate your flag.
Your local evaluation experiment is ready to use with a local evaluation SDK.
Migrate an existing remote flag to local evaluation
To transition an existing remote flag to local evaluation mode, change the flag's settings and update the bucketing key.
Migrating a flag from remote to local evaluation mode changes the bucketing behavior. Deactivate the flag before you migrate it. Confirm that all targeting rules follow the limitations of local evaluation.
- In the Advanced Settings section of the Configure tab, change the flag's Evaluation Mode to Local.
- Update the bucketed by setting from Amplitude ID to Device ID in each targeted user segment and in the All Other Users section.
Was this helpful?