How to set criteria for including and excluding contacts in your segments.
After you’ve created a segment, it's time to define the segment criteria:
- Under Select contacts to include in this segment, add filters to one or both include blocks:
- Include contacts who match all of the following filters: contacts must match every filter in this block.
- Include contacts who match any of the following filters: contacts must match at least one filter in this block.
- Click to add filters related to contacts and/or companies:
For example, to include only contacts with an email address, add Has email to the "all" block and choose Yes.
- Filters you choose will now appear (below's example shows Name):
- Some filters let you click to toggle Is/Is not conditions:
- Some filters also offer extra customisation. For example, clicking Company filters → History → Subscription opens up subscription date filters. You can specify your own date by choosing a filter containing an X subscription filter. For example, choose a start date of Next X years and then add the number of years:
- To remove a filter, click the X to the right of the filter:
- Repeat the process for contacts you want to exclude. In the Exclude contacts who match block, click all/any to exclude contacts that match every filter or at least one filter:
- Click Save
- The results of your filters will update and display in real-time
- Hover over columns to view more details about the contact:
- Now you're ready to use the segment in your email campaigns, events or flows
Why a contact is in the segment, or missing from it
- Contact filters match the contact itself. Company filters match the company, so every contact at a matching company is included.
- A contact needs to match only one filter in the "any" block. Adding a filter there makes the segment larger, and a filter that matches the same contacts as another filter in the block adds no one.
- To pick specific contacts at a company, give those contacts a contact category and filter on it under Contact filters → Categories. Contact custom fields are also available as filters, for example to track which course a contact has taken.
- To group companies by a relation, such as the companies a reseller works with, give them a company category (Company filters → Categories) or add them to a campaign (Campaigns), and filter on that.
See Segments overview for how segments are used.
Filter on what a company has bought
- Under Company filters, choose History → Sales. The row reads Companies With sales. Click With to switch to Without.
- Click More options to narrow it down:
- Date: the period of the sale.
- Users: the salesperson.
- Products: choose products or product categories. Choose Any for companies that bought at least one of them (a product category includes its subcategories), or All for companies that bought every one of the selected products.
- Opportunity stages
- Order value: a minimum and maximum value.
- Other fields: the custom fields on the order.
With Without, the segment includes contacts at companies that have no sale matching the options. To segment on what a sale was about, store it in a custom field on the order and filter on it under Other fields.
Filter on email engagement
Under Contact filters, choose Marketing → Email campaigns. The row has three parts:
- The email campaigns: leave it on Any email campaign to look at all email campaigns, or choose one or more. With several chosen and the action All actions, Opened or Clicked, Any matches contacts for whom at least one of them meets the condition, and All matches contacts for whom every one of them does.
- The action: All actions (the contact was sent the email), Opened, Not opened, Clicked or Not clicked. Clicked counts a click on any link in the email.
- The period: Any time, Current week, Current month, Current quarter, Current year (1 January to 31 December this year), Past week, Past month, Past year (all of the previous calendar year), Past days or Custom date. For Opened and Clicked, the period is when the contact opened or clicked. For the other actions, it is when the email was sent.
With Any email campaign and Not opened, the filter matches contacts who were sent at least one email campaign in the period and opened none of the email campaigns sent in that period. Contacts who were sent no email campaign in the period don't match. So when you put this filter in the Exclude contacts who match block, only contacts who were sent email campaigns and didn't open them are excluded.
You can add Email campaigns more than once in the same block, each row with its own email campaigns, action and period. The rows combine like any other filters in that block, for example opened one email campaign and didn't open a later one.
To send a follow-up to the recipients of one email campaign who didn't open it, see How to send an email to recipients who didn't open your previous email campaign.