1 min read
You can now configure weighted traffic splits for Vercel Flags with the new vercel flags split command in the Vercel CLI. This allows you to send a percentage of traffic to one variant and the rest to another.
Run the command interactively, or pass the environment, bucketing attribute, and variant weights as flags:
vercel flags split redesigned-checkout \ --environment production \ --by user.id \ --weight off=95 \ --weight on=5Sets a 95/5 weight split on redesigned-checkout for production, bucketing by user.id
Update to the latest version of the Vercel CLI and read the documentation to get started.