# 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="/files/gJo4sYr10IJTzw95Khhj" 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="/files/1TfPgpqKmR7EACW8XEo9" 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="/files/xnERGXgMwG73prp4VJTZ" 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="/files/SEAUORuP9cTjn4TqCiBP" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.uppush.io/uppush/web-push-campaign-and-segmentation/segment-for-web-push-campaign.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
