# Segment for Web Push Campaign

Segments help you categorize your subscribers into groups, based on different criteria: locations,  devices, browsers, etc.

By default, when customers subscribe, we automatically sort them into respective device-segment:

<figure><img src="https://2478559309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0EbXtq6T4WMCO5OtRHB%2Fuploads%2FHkj6VeCRaKYioeNZIbkA%2Fimage.png?alt=media&#x26;token=15f81c41-221f-429d-973f-82f156cf8866" alt=""><figcaption></figcaption></figure>

### Create new segment

1. To manually create a new segment, please hit the **New Segment** button. Afterward, choose the conditions you would like to sort customers into:

<figure><img src="https://2478559309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0EbXtq6T4WMCO5OtRHB%2Fuploads%2FGxY2m4uxgMRZs3raRzvc%2Fimage.png?alt=media&#x26;token=d2d331a9-2a34-4e0b-95c1-8a422acbbd4e" alt=""><figcaption></figcaption></figure>

Here are some example segment conditions for segment creation:

1. **Segment: Recent Purchasers**

   * Condition: Purchased at least once AND After 30 days
   * Use this segment to target customers who have made a purchase in the last 30 days.

   <figure><img src="https://2478559309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0EbXtq6T4WMCO5OtRHB%2Fuploads%2FXjzO9gU2QEyDC2gRKzrF%2Fimage.png?alt=media&#x26;token=4df8e8a0-aeec-4c61-a16f-bb406cdd82fd" alt=""><figcaption></figcaption></figure>
2. **Segment: High Engagement**
   * Condition: Clicked greater than 5 times AND Anytime
   * Ideal for targeting users who have shown interest by engaging frequently with your emails or notifications.
3. **Segment: Inactive Users**
   * Condition: Clicked less than once AND Greater than 60 days
   * Use this to re-engage customers who have not interacted recently.

These examples demonstrate different ways to create targeted customer segments based on engagement and activity levels.

2. Hitting **Save** automatically creates the segment.

### Use segment when sending campaigns

Some campaigns are customized for particular subscriber groups, making them an excellent method to target them efficiently.

Choosing the campaign also reveals how many subscribers are included:

<figure><img src="https://2478559309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0EbXtq6T4WMCO5OtRHB%2Fuploads%2FF9HAyEQ9rLRZH6PBbOle%2Fimage.png?alt=media&#x26;token=99331e82-20f3-4099-b2fb-599ddc149f10" alt=""><figcaption></figcaption></figure>

### A/B Testing with Segment

To assess your campaign's performance effectively, try A/B testing with different segments. Duplicate your campaign and select a new segment for each version. Then, compare the outcomes to see which performs better. Make sure the chosen segments don’t overlap to ensure clear results
