Segmentations

Subscriber segmentation in Mailrelay: how to create dynamic segments


Subscriber segmentation lets you send each campaign only to the contacts most likely to respond to it. With Mailrelay segments you can filter your list by subscriber data (country, language, group, tags…) or by what they have done with your emails (opens, clicks, campaigns received). The result is more relevant email marketing campaigns, more opens and clicks, and a better sending reputation.


In this guide you will learn what a segment is, how to create one step by step, how to combine conditions, and three ready-to-use examples.


Table of contents


1. What is a segment and how is it different from a group?


A segment is a set of subscribers who meet the conditions you define. It is dynamic: if a contact stops meeting the conditions, they automatically leave the segment, and if another contact starts meeting them, they join it.

A group, on the other hand, is static: it always contains the same contacts until you change it, even if their behavior changes.


SegmentGroup
TypeDynamicStatic
Updates automaticallyYes, based on its conditionsNo, until you change it
How it is createdBy defining conditionsBy importing contacts, adding them manually or saving a segmentation as a group
Best forRecurring campaigns, re-engagement, behavior-based sendsFixed lists, a snapshot of your contacts at a given moment


2. How to create a segment step by step

  1. Go to Subscribers > Segmentation. Here you will see the segments you have already created and you can search them by name.
  2. Click Add.


Mailrelay Subscribers > Segmentation screen with the Add button to create a new segment


  1. Enter a Name for the segment. Only you will see it, so use a descriptive name, for example Inactive in the last 90 days.
  2. Under Conditions, choose what subscribers must meet. By default you will see one condition group with one condition, which you can change from the drop-down menu.
  3. Add more conditions with Add condition or more groups with Add condition group.
  4. Click Preview to check which subscribers meet the conditions and then click Create Segment.


Mailrelay New segment form with name, conditions, Match all, Match any and Create Segment and Create group buttons




3. Match all or Match any: how to combine conditions


A segment is organized on two levels:

  • Conditions: each individual filter (for example, Subscriber country equal to Spain).
  • Condition groups: blocks that contain one or more conditions.

At each level you can choose how they are combined:


OptionEquivalent toThe subscriber is included if…
Match allANDThey meet all the conditions (or all the groups).
Match anyORThey meet at least one of the conditions (or one of the groups).
  • The option at the top (… of these condition groups) sets how the groups are combined with each other.
  • The option inside each group (… of these conditions in this group) sets how the conditions in that group are combined.


By default, groups are combined with Match any and the conditions within each group with Match all. If you only use one condition group, the option at the top does not change the result.

To delete a condition, click the red trash icon to its right. To delete an entire group, click Remove group.


4. Available condition types


Conditions are organized into four categories:


CategoryConditions
SubscriberScore, age, creation date, update date, belongs or doesn't belong to group, subscriber without group, email, name, city, state, country, locale, SMS phone, WhatsApp phone and tags.
CampaignClicked or didn't click, opened or didn't open, received or didn't receive the campaign.
General activityClicked at URL, click city, state or country, and impression city, state or country.
SMS campaignReceived or didn't receive the SMS campaign.


Depending on the condition you choose, new options appear to complete it:

  • Subscriber data conditions: an operator (Equal, Not equal, Contains, Doesn't contains, Blank, Not blank, Before, After…) and the value you are looking for.
  • Campaign conditions: a Campaign filter (Any campaign or Specific campaigns) and a Time interval (Any, Specific, Minutes ago, Hours ago or Days ago).


5. Most commonly used segments


5.1 Subscribers who did not open a specific campaign


This is useful for resending a campaign to those who did not open it, for example with a different subject line.

  1. Go to Subscribers > Segmentation > Add and enter a name, for example Did not open the October newsletter.
  2. In the condition, select Subscriber didn't opened campaign.
  3. In Campaign filter, leave Specific campaigns.
  4. In Campaigns, search for and select the campaign you want.
  5. If you only want to include those who received that campaign, check Restricted to subscribers that received this campaign.


Mailrelay segment with the condition Subscriber didn't open campaign and the Specific campaigns filter

5.2 Subscribers inactive in the last 90 days

Identifying inactive subscribers lets you run a re-engagement campaign or clean your list, which improves your deliverability.

  1. Go to Subscribers > Segmentation > Add and enter a name, for example Inactive in the last 90 days.
  2. In the condition, select Subscriber didn't opened campaign.
  3. In Campaign filter, select Any campaign.
  4. In Time interval, select Days ago.
  5. In Relative time, enter 90.

Mailrelay inactive subscribers segment: didn't open any campaign in the last 90 days


Because the interval is relative (days ago), the segment updates itself every day. You don't need to change any dates.


5.3 Combining condition groups: country and recent opens


This example selects subscribers from Spain or Mexico who also opened a campaign in the last 30 days.

  1. At the top, in … of these condition groups, select Match all: the subscriber must meet both groups.
  2. First group, with Match any: Subscriber country equal to Spain OR Subscriber country equal to Mexico.
  3. Click Add condition group.
  4. Second group, with Match all: Subscriber opened campaign, with Any campaign, Days ago and 30.

Mailrelay segment with two condition groups: country Spain or Mexico and campaign opened in the last 30 days



The result is: (Spain OR Mexico) AND opened a campaign in the last 30 days.


Tip: in the Subscriber country condition you can also select several countries in the same field, without adding one condition per country.


6. Preview and save: Create Segment or Create group


Before saving, click Preview. The subscribers who meet the conditions will appear below (or a notice if there are none), so you can check that the segment is set up correctly.


Preview button with the segmentation result and Create Segment and Create group buttons in Mailrelay

Then choose how to save it:

  • Create Segment: saves a dynamic segmentation. If a contact stops meeting the conditions (for example, opens the campaign), they automatically leave the segment.
  • Create group: saves the subscribers who meet the conditions right now as a static group. They will stay in the group even if their behavior changes later.


Once created, you can select the segment or group as recipients when you create a newsletter.


7. Frequently asked questions about segmentation


Does a segment update automatically?

Yes. Segments are dynamic: every time you use one, it includes the subscribers who meet the conditions at that moment.


Can I turn a segmentation into a group?

Yes. Set up the conditions and, instead of Create Segment, click Create group. A group will be created with the subscribers who meet the conditions at that moment.


Why doesn't the preview show any subscribers?

It means no contact meets all the conditions at once. Check whether you used Match all where you meant Match any, and review the values of each condition. If you don't have any contacts yet, first import your subscribers.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article