A list is whoever you put on it. A segment is whoever matches a set of rules at the moment it is used. "Clicked a campaign in the last 90 days" means a different group of people each week, with no upkeep from you.
Create a segment
- In the sidebar, click Segments, then New segment.
- Give it a Name. A Description is optional.
- Choose whether a contact must match all of these or any of these conditions.
- Set up the first condition, and click Add condition for more. A segment can have up to 20 conditions.
- Watch the count below the builder. It shows how many contacts match right now and updates as you change the rules.
- Click Create segment.
The Segments page lists each segment with its current size. Click the pencil to edit one, then Save changes.
Conditions
Pick a kind of condition from the first drop-down. Each kind has its own options.
| Condition | Options |
|---|---|
| Contact detail | A standard field (email, first name, last name, phone, address, city, state or region, postal code, country), an operator, and a value |
| Custom field | One of your own contact fields, an operator, and a value |
| Contact list | is on or is not on a list you choose |
| Campaign engagement | has or has not, then clicked, opened or been sent, then a time window |
| Clicked a link | clicked or did not click a link containing text you enter, such as /pricing, then a time window |
| App email | has received or has not received email from your account in a time window |
| Consent status | is or is not confirmed, attested, legacy, pending or declined |
| When they were added | in the last or more than a number of days ago |
| Did an event | did or did not do an event your app recorded, by name, in a time window |
Text operators
Contact detail and custom field conditions use these operators:
| Operator | Matches when the value |
|---|---|
| is | equals what you typed |
| is not | is anything else, or is empty |
| contains | includes what you typed anywhere |
| does not contain | does not include it, or is empty |
| starts with | begins with what you typed |
| has any value | is filled in |
| is empty | is blank |
"Is not" and "does not contain" include contacts with no value, so "Country is not France" includes everyone with no country set.
Time windows
Most conditions offer the last 7, 30, 90 or 180 days, the last year, or ever. App email and When they were added need a number of days and have no "ever".
Engagement counts people, not machines
Many opens and clicks are not made by the recipient. Apple Mail downloads images, including the tracking pixel, as soon as a message arrives, whether or not anyone reads it. Corporate security filters follow every link in a message before the recipient sees it.
By default, opened and clicked count only what a person did:
- An open counts unless it came from Apple Mail's automatic download or from a known security scanner. Opens through the Gmail, Yahoo Mail and Outlook image proxies do count, because those happen when someone opens the message.
- A click counts unless it came from a known scanner or link checker, or was part of three different links followed within ten seconds.
Tick count scanners too on a condition to include machine activity. This is the same rule used by the analytics dashboard and campaign reports, so a segment and a report never disagree.
Some details worth knowing:
- Campaign engagement covers automation messages as well as campaigns.
- Opened and clicked use the first open and the first click. "Opened in the last 30 days" means the first open of a message was within the last 30 days.
- Clicked a link uses per-link click records. The builder tells you the date those records start. Older campaigns still count under Campaign engagement.
- App email matches any message your account sent to that address in the window that did not fail.
- Did an event uses events your app sends through the events API, by the time the event happened.
Who can be in a segment
A segment only ever holds people you may mail: contacts who are subscribed and whose consent status is legacy, attested or confirmed. Contacts that are pending, declined or have no recorded consent never appear, so a condition such as "Consent status is pending" matches nobody. See Consent and double opt-in.
The count can include a few contacts on your suppression list. They are skipped when mail is sent.
When the rules are applied
The count in the builder and on the Segments page is always worked out fresh.
When you choose a segment as a campaign's audience, the list of recipients is worked out when the campaign starts sending. For a campaign you send straight away, that is the moment you press send. For a scheduled campaign, it is worked out again at the scheduled time, so people who start to match in between are included and people who stopped matching are left out. If the segment is deleted before then, the rule as it stood when you scheduled the campaign is used.
At send time, anyone who has since unsubscribed, been suppressed, lost their consent or turned off the campaign's topic is skipped.
A campaign keeps a copy of the rules it was sent with, so you can still see what its audience was after you change or delete the segment.
Automations can start when a contact enters a segment.
Delete a segment
On the Segments page, click the bin next to the segment and confirm. Campaigns already sent keep their audience. An automation triggered by that segment stops enrolling anyone.
Segments through the API
You can create, change, delete and count segments, and page through their members, with the segments API. A definition is match (all or any) plus up to 20 conditions, the same as the builder saves.