Skip to main content

Customer segments

Group your customers by Shopify segment, by your own filters or by Insights group, then target campaigns at them, export them or run bulk actions on them.

Written by Jason Leader

Shopify segments and custom segments are on the Plus plan. The Loyal, At risk and Win back groups from Insights show on the Segments page on any plan that includes Insights. On a Shopify store, the loyalty data filters in Shopify's segment editor work on any plan.

In this article:


Overview

A segment is a group of your customers. Use segments to choose who a campaign or challenge is for, to see and export a group of customers, and to run bulk actions on them.

You'll find your segments under Customers, then Segments.


Types of segment

Each segment on the Segments page has an icon beside its name: Shopify's bag for a Shopify segment, and the LoyaltyLion icon for the rest. Segments come from three places:

The Segments page listing the Loyal, At risk and Win back groups and three Shopify segments, with customer counts and where each is used
  • LoyaltyLion Segments: the Loyal, At risk and Win back groups from Insights. We group your customers once a month from their last 12 months of orders, and the row shows when the groups were last updated. Every store has these three.

  • Shopify Segments: a segment you built in Shopify and chose here. We keep our own list of its customers, so your campaigns never have to wait for Shopify. Shopify segments are available on Shopify stores only.

  • Custom Segments: a segment you create in LoyaltyLion from the filters on your Customers list, such as members with at least 500 points. Custom segments work on any platform.

The Customers column counts everyone in the segment, with the loyalty members among them shown below. A Shopify segment shows Shopify's own count. A segment can include customers who haven't joined your program, but only members earn points and redeem rewards, so a campaign only ever reaches the members.

The Used in column counts the live and scheduled campaigns and challenges that use the segment, as their audience or as an exclusion.


Choose Shopify segments

  1. Go to Customers, then Segments, and click Choose Shopify segments.

  2. Check the segments you want. Search by name to find one. The bottom of the window shows how many you've chosen, and the most your store can choose.

  3. Click Save.

The Choose Shopify segments window, with one segment checked and waiting for its first sync

Each segment you choose starts with a first sync, while we import its customers from Shopify. The segment shows First sync under its name, and the segment's page shows how far it has got and the customers as they arrive. Until the first sync finishes, you can't use the segment in a campaign, export it or run bulk actions on it, because its list isn't complete yet.

If LoyaltyLion doesn't have permission to read your customers in Shopify, the window asks you to allow access in Shopify first.

How a Shopify segment stays up to date

You keep editing a Shopify segment in Shopify. Click Edit in Shopify in the segment's row menu to open it there.

  • Customers joining and leaving: Shopify tells us each time a customer joins or leaves the segment, and our list usually follows within seconds.

  • Changing the segment in Shopify: when you edit its conditions in Shopify, we import its customers again.

  • Daily check: once a day we compare Shopify's count with ours. If they don't agree, or Shopify stops sending us changes, the segment shows Needs attention and its page says it's out of sync with Shopify. We try to fix it automatically. To fix it straight away, click Resync on the segment's page or in its row menu.

While a segment is out of sync, you can't export it or run bulk actions on it. Campaigns that use it carry on with the customers we have.

On a segment's page, Shopify's count and the customers we've matched often differ by a few. The list of customers leaves out anyone who was erased or isn't in LoyaltyLion yet, and Shopify's count is refreshed once a day.

Stop tracking a Shopify segment

To stop using a Shopify segment, click Stop tracking in its row menu, or in the More actions menu (…) on its page. We stop syncing it and it leaves your Segments page. Nothing changes in Shopify, and you can choose it again anytime.

You can't stop tracking a segment while a live or scheduled campaign or challenge uses it. The confirmation lists each one, so you can change or end it first.

When a segment is deleted in Shopify

If you delete a segment in Shopify that you chose in LoyaltyLion:

  • The segment shows Deleted in Shopify, and we keep the list of customers it had when it was deleted.

  • Campaigns and challenges that use it carry on with that list until they end or you stop them. We email your account owner, and your campaigns list shows a banner naming the segment.

  • You can't choose it for a new campaign. To make room for another Shopify segment, stop tracking it. This deletes the list we kept, and the customers themselves stay in LoyaltyLion.


A segment's page

Click a segment to open its page. Under its name, one line counts its customers and the loyalty members among them. For a Shopify segment, it shows Shopify's count, how many of those we've matched to your customers, and how many are loyalty members. Hover over a figure to see what it counts. On a Shopify segment's page, click View query to see how it's defined in Shopify. The page also shows when its customers last changed.

The Loyal group's page, with the More actions, Actions and Use segment buttons, and its In group, Members and Share of revenue figures

Below that:

  • Average points: the average points balance of the segment's loyalty members.

  • Total revenue: what the segment's customers have paid for their orders, less refunds.

  • Members by tier: how many of the segment's members are in each of your tiers, if your program has tiers.

  • Customers tab: the customers in the segment, in the same table as your Customers list. Check customers to run a bulk action on them.

  • Where it's used tab: every live and scheduled campaign and challenge that uses the segment, as its audience or as an exclusion.

An Insights group's page shows In group and Members instead, plus Share of revenue for Loyal, or Usual gap between orders for At risk and Win back.

At the top of the page:

  • Use segment: starts a new campaign or challenge with this segment as its audience.

  • Actions: runs a bulk action on every customer in the segment.

  • More actions (…): Export emails you a file of every customer in the segment, which also appears on your Exports page. A custom segment also has Edit and Delete here, and a Shopify segment has Stop tracking.


Use a segment in a campaign or challenge

These can target a segment:

To start one from a segment, click Use segment on the segment's page and choose what to create. The form opens with the segment already chosen. Use segment shows for anyone who can create campaigns, which needs the Admin or Program manager role.

To choose a segment from the campaign's own form:

  • Points multiplier events and birthday bundles: under Who's eligible, choose Members in a segment, then pick the segment.

  • Challenges: under Who can take part, choose Members in a segment, then pick the segment.

  • Reward drops and points drops: keep your usual eligibility choice, and pick a segment under Limit to a segment. Only members who meet both get the drop.

  • Reward discounting: pick a segment under Limit to a segment.

Leave a segment out

Under Excluded segments, click Exclude a segment to leave out everyone in it, even if they're otherwise eligible. You can exclude up to 3 segments from one campaign or challenge. A customer in an excluded segment is never reached by it, whichever other segment they're in.

Who a campaign reaches

A campaign checks whether a customer is in the segment when it acts for them, for example when they place an order during a points multiplier event. A customer who joins the segment while the campaign runs is included from then on, and one who leaves is left out from then on.

Once a customer has received something from a campaign, such as a claimed reward, they keep it even if they later leave the segment.

Segments you can't choose

A segment shows in the list but can't be chosen, with the reason beneath it, when:

  • It's a Shopify segment still in its first sync.

  • It's a custom segment with a filter campaigns can't use, such as Blocked or Next points expiration.

  • It's an Insights group, and your customers haven't been grouped yet.

Changing a campaign's segments

You can change the segments of a scheduled campaign or challenge on its page before it starts. Once it has started, its segments can't change. A drop's segments are fixed when you create it. To use another segment, stop the campaign and create a new one.


Filter by loyalty data in Shopify

On a Shopify store, you can use your customers' loyalty details as filters when you build a segment in Shopify, on any plan. In Shopify's segment editor, look for the filters whose names start with LoyaltyLion, such as LoyaltyLion points approved, LoyaltyLion tier and LoyaltyLion progress to next tier. We update these in Shopify as your customers' loyalty details change.

Use these segments anywhere in Shopify, such as to send a Shopify Email or to limit who can use a discount. On the Plus plan, you can also choose one here and target a campaign at it: for example, build a segment of customers who are close to their next tier and run a points multiplier event for them.


Who can change segments

What

Who can do it

Choose, resync and stop tracking Shopify segments

Admin, Program manager and Customer support

Create and delete custom segments

Admin, Program manager and Customer support

Edit a custom segment

Admin and Program manager

Export a segment

Admin and Program manager


FAQ

Why doesn't Shopify's count match the list of customers?

Shopify's count is refreshed once a day, and our list leaves out customers who were erased or aren't in LoyaltyLion yet, so the two often differ by a few. If they differ by more, the segment shows Needs attention, and Resync imports its customers again.

Does choosing a Shopify segment change anything in Shopify?

No. We only read the segment and its customers. Stopping tracking doesn't change anything in Shopify either.

Can a segment include customers who aren't members?

Yes. A segment counts every customer in it, and shows the members among them separately. Campaigns and challenges only reach members, because only members earn points and redeem rewards.

Why can't I stop tracking or delete a segment?

A live or scheduled campaign or challenge uses it. Its Where it's used tab lists each one. Change the segment on each, or wait until they end, then try again.

Did this answer your question?