Skip to main content

Create a Shopify customer segment for your membership members

Group your current members in Shopify using the membership tier Okendo stores on each customer, ready to use in reporting and marketing.

Written by James Fletcher

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

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.

  1. In your Shopify admin, go to Customers > Segments and select Create segment.

  2. In the segment editor, under WHERE, enter metafields."app--4794253313--loyalty".vip_tier_name =

  3. 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.

  4. Select Run to preview the matching customers.

  5. Select Save segment and give it a clear name, for example Members - Gold Membership.

  6. 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.

Did this answer your question?