> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifly.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Random bucket number

> Use random bucket numbers to run a campaign for a subset of users.

* Notifly assigns each user a random bucket number at registration and stores it as a user property.
* Bucket numbers range from 0 to 9999. Find a user's **Random Bucket Number** in the user list.
* Notifly assigns numbers so users are spread roughly evenly across the full range. Choose a range to target a portion of your audience.

![Random Bucket Number in the user list](https://mintcdn.com/notifly/dcFO7QF5JScPffiH/images/i18n/en/campaigns/user-list-random-bucket-number.png?fit=max\&auto=format\&n=dcFO7QF5JScPffiH\&q=85\&s=b0428c60240702ca7bcba62850da7b8d)

## Use random bucket numbers

Use bucket numbers to split an audience into groups.

### Send to about 10% of users first

Send the same message in two campaigns. Review the first campaign’s results before sending to the rest of the audience.

* **Campaign A.** Target users with bucket numbers 0 to 999, about 10% of users.
* **Campaign B.** Target users with bucket numbers 1000 to 9999, about 90% of users.

The ranges do not overlap, so no user qualifies for both campaigns based on their bucket number.

![Bucket range for the pilot campaign](https://mintcdn.com/notifly/dcFO7QF5JScPffiH/images/i18n/en/campaigns/campaign-segment-random-bucket-number-pre.png?fit=max\&auto=format\&n=dcFO7QF5JScPffiH\&q=85\&s=1e34d575566373991286eaa14135450d)

![Bucket range for the main campaign](https://mintcdn.com/notifly/dcFO7QF5JScPffiH/images/i18n/en/campaigns/campaign-segment-random-bucket-number-main.png?fit=max\&auto=format\&n=dcFO7QF5JScPffiH\&q=85\&s=4cc363dbb84811397cd7a3d9b2ac090d)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.