# Designing your segment

{% hint style="info" %}
Segments are dynamic, which means they update in real-time as your data changes.
{% endhint %}

Use the Add Rule button to add a Search Rule to your segment

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/73e32d0b-0af6-4ca6-a1d4-ebbc174d1324.png)

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/6a87f411-309b-4a15-95d5-18ddef6a7eb3.png)

Contact Info Rules are used to search by the following criteria

Contact list properties such as:

* name
* zip code
* domain name
* gender
* tags
* creation date
* anything you've stored in your contact list data as a property&#x20;

{% hint style="info" %}
Click the + sign to add additional criteria
{% endhint %}

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/b0192cad-57fe-468d-afaf-248ce5ed4f21.png)

Search for contacts that were added in the last X number of days or during a specific date range

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/ee366625-1263-4b93-b4f6-444468ecec02.png)

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/ed0ce708-cf3f-4d04-ab29-9d69ccca20bf.png)

List Membership Rules

List Membership Rules find or exclude contacts based on their lists and segments

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/77141577-42c7-4012-8689-f750fcc83299.png)

Message Engagement Rules

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/c43c416f-3349-43c5-a3be-ece70030d224.png)

Message Engagement Rules are used to search by the following criteria

* Contacts who opened or clicked on links in specific messages
* Contacts who opened or clicked on links in ANY messages
* Contacts who did not open or click on links in specific messages
* Contacts who have not open or clicked on links in ANY messages
* Whether contacts opened or clicked on links in messages in the past X number of days or within a specific date range
* Contacts for whom a message was successfully delivered
* Contacts for whom a message was unsuccessfully delivered&#x20;
* The location contacts opened or clicked on links in messages from including country, state, and zip code
* Device type, operating system, and browser contacts opened or clicked on links in messages from

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/abc631d6-3e18-4f9e-b5c0-2422bc5869c9.png)

Select how search rules pass or fail, commonly known as and/or logic

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/acecbd35-628f-4399-8fec-8d0531b2eb13.png)

There are three choices for how the search rules you create can pass or fail for this segment

{% hint style="info" %}
**All**

Every rule has to be true. If any of your rules contain false criteria, all of the rules will fail and 0 matching contacts will be returned.&#x20;
{% endhint %}

{% hint style="info" %}
**Any**

If any rule is true, return matches and simply disregard non-matches.&#x20;
{% endhint %}

{% hint style="info" %}
**None**&#x20;

Exclude contacts matching these rules from the segment
{% endhint %}

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/31160c02-d5df-4cba-accc-93895d144c7a.png)

Using a Rule Group to add depth with nested all/any/none combinations

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/977e3011-01c7-4de7-8055-268e3c48567a.png)

{% hint style="info" %}
Rule groups allows you to create a secondary group of Search Rules with their own pass/fail criteria&#x20;
{% endhint %}

This greatly opens up the combination of possibilities

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/533f5d54-1f78-422b-89c0-b9d3a0af1c65.png)

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/eeafc73d-5d65-4546-af05-983fcedd7e56.png)

Here we search for contacts tagged as purchasers who have opened their emails from America, but only if they exist in at least one of three specified contact lists. &#x20;

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/2a7f4333-c6f1-4312-91c9-dccd2ab7ea15.png)

Click the "Save" button in the upper right to save your segment and see the number of contacts found.&#x20;

{% hint style="warning" %}
Remember, if "All" is specified for the passing condition, this number can show 0. &#x20;
{% endhint %}

{% hint style="info" %}
Your contact count will increment in real time as your data changes, all segmenting is dynamic.
{% endhint %}

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/19/447cfda0-1590-4821-9429-e6b78714811e.png)
