> ## 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.

# ランダムバケットナンバー

> ランダムバケットナンバーを使って、一部のユーザーを対象にキャンペーンを実行します。

* ユーザーがNotiflyに登録されると、ユーザー属性としてランダムバケットナンバーが自動で割り当てられます。
* 番号の範囲は0から9999です。割り当てられた **ランダムバケットナンバー** は、ユーザーリストで確認できます。
* ユーザーは、0から9999の範囲におおむね均等に分かれるように番号を割り当てられます。番号の範囲を指定すると、一部のユーザーに絞って送信できます。

![ユーザーリストのランダムバケットナンバー](https://mintcdn.com/notifly/DHduOkdsm1-HMvmh/images/i18n/ja/campaigns/user-list-random-bucket-number.png?fit=max\&auto=format\&n=DHduOkdsm1-HMvmh\&q=85\&s=7ba703b9c744bd3986bc9ecf554d975e)

## ランダムバケットナンバーを使う

番号の範囲で送信対象を複数のグループに分けられます。

### 先に約10%のユーザーへ配信する

同じメッセージで2つのキャンペーンを作成します。キャンペーンAの結果を確認してから、残りのユーザーにキャンペーンBを配信します。

* **キャンペーンA（先行配信）** の対象は、番号が0から999のユーザー（約10%）です。
* **キャンペーンB（本配信）** の対象は、番号が1000から9999のユーザー（約90%）です。

番号の範囲が重ならないため、番号で絞り込む限り、同じユーザーが両方の対象になることはありません。

![先行配信のバケット範囲](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/campaigns/campaign-segment-random-bucket-number-pre.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=e482785d0070b0005fd43bb9075c0e61)

![本配信のバケット範囲](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/campaigns/campaign-segment-random-bucket-number-main.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=7e2f3e73d80a748d4e40b01c8f9fae1c)


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