A Shopify customer segment gives you a live list of the customers on each of your membership tiers. Use it to count your current members, export them, or target them with Shopify Email and other marketing apps.
✅ Before you begin
A membership tier is set up in Okendo Loyalty. See Set up a Membership program in Okendo Loyalty.
You have access to Customers in your Shopify admin.
In this article, you will learn about;
Create a segment for each membership tier
Okendo saves each member's tier name to a customer metafield in Shopify. You filter on that metafield to build the segment.
In your Shopify admin, go to Customers > Segments and select Create segment.
In the segment editor, under WHERE, enter metafields."app--4794253313--loyalty".vip_tier_name =
Select the equals operator, then enter your membership tier name exactly as it appears in Okendo, for example ‘Gold Membership’. The tier name is taken from your membership product's title when you create the tier. Make sure to include the ‘ on either side of the name.
💡 The value is case-sensitive. If you renamed the product after creating the tier, use the name shown on the tier in Okendo.
Select Run to preview the matching customers.
Select Save segment and give it a clear name, for example
Members - Gold Membership.Repeat these steps for each membership tier you offer.
Understand what your segment shows
The segment updates automatically and lists customers whose tier value currently matches. Keep two things in mind when you use it:
It shows current members. Okendo will change the tier metafield on the customer when a membership ends, i.e. after the paid billing period ends.
It isn't a history. The segment can't tell you when someone joined, so it can't answer questions like "How many members joined in January?".
💡 Name the segment for what it is, such as "Current members", so your team reads the numbers correctly.
FAQs
Q: Can I use this segment in my email marketing?
A: Yes. Shopify segments are available in Shopify Email and in marketing apps that sync Shopify segments.
Q: Does a customer who cancels leave the segment straight away?
A: A customer who cancels keeps their membership benefits until the end of their current billing period. Once the billing period has ended their metafield will be changed accordingly.

