> For the complete documentation index, see [llms.txt](https://help.dollarlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/see-tier-customers-as-a-shopify-segment.md).

# See tier customers as a Shopify segment

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

Every tier on the Tiers page has a **View customers** button. It opens Shopify's own customer list, filtered to everyone currently in that tier, as a saved customer segment. From there you can email the tier, give it a discount, or export it, all with Shopify's built-in tools.

## Open a tier's segment

1. Go to **DollarBack admin → Tiers**.
2. In the tier's row, click **View customers**. (The button appears once the tier has a name.)
3. DollarBack opens **Shopify admin → Customers → Segments** on a segment named `DollarBack · <tier name> tier`, for example `DollarBack · Gold tier`.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2b86525c26da80fe4d906d53da0236764813d48a%2Fdb-tier-header-view-customers-annotated.png?alt=media" alt="Gold tier header with a View customers link, a 2x badge, an Active badge and a switch." width="560"><figcaption><p>View customers is on the header row of each tier.</p></figcaption></figure>

The first click creates the segment. Later clicks open the same one, so you don't end up with duplicates.

## How the segment works

DollarBack writes each customer's current tier name to a customer metafield, **Customer Tier** (`dollarback_tiers.customer_tier`). The segment is a plain filter on that field:

```
metafields.dollarback_tiers.customer_tier = 'Gold'
```

Because it's a live Shopify segment, it keeps itself up to date: when a customer moves up or down a tier, they leave one segment and join the other. There's nothing to re-export.

You can build the same filter yourself in **Customers → Segments → Create segment**, and combine it with any other Shopify condition. For example, Gold customers who haven't ordered in 90 days:

```
metafields.dollarback_tiers.customer_tier = 'Gold' AND last_order_date < -90d
```

## What you can do with it

* **Email the tier** with Shopify Messaging: pick the segment as the recipients of a campaign, e.g. an early-access announcement for your top tier.
* **Give the tier a discount**: in **Shopify admin → Discounts**, set the customer eligibility to the segment.
* **Export the list**: open the segment and use Shopify's **Export** to download the customers as CSV.
* **Use it in Shopify Flow**: Flow can check the same **Customer Tier** metafield on a customer. To react the moment someone joins or leaves a tier, use DollarBack's **Customer Tier Upgraded** and **Customer Tier Downgraded** Flow triggers instead; see [Flow and marketing events](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier.md#flow-and-marketing-events).

## Renaming a tier

The segment is matched by the tier's name. If you rename a tier, the next **View customers** click creates a new segment under the new name. The segment for the old name stays in Shopify; delete it from **Customers → Segments** if you no longer need it.

{% hint style="warning" %}
After a rename, the new segment can stay empty. Customers who were already in the tier can keep the **old** name in their **Customer Tier** metafield, because DollarBack still recognises their tier and has nothing to change. After you rename a tier, save and click **Sync now**, then open a member's profile and check the metafield. If it still shows the old name, contact us. Until then, the segment for the old name still lists those customers.
{% endhint %}

## Verify it works

Pick a customer whose tier you know. Open their profile in **Shopify admin → Customers** and check the **Customer Tier** metafield shows that tier's name. Then click **View customers** on that tier and confirm the customer is in the list.

## Common issues

* **The segment is empty or is missing customers**: a customer only appears once their **Customer Tier** metafield has a value. Check the metafield on a missing customer's profile. If it's blank, make sure you've run the sync after your last tier change (see [Sync tiers to customers](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers.md)), and contact us if it stays blank.
* **"View customers" is greyed out**: a sync (or bulk code generation) is still running. Wait for it to finish.
* **A customer is in the wrong segment**: tier changes after you edit the rules only apply once you sync. See [Sync tiers to customers](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers.md).

## Related articles

* [Build your tiers](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/build-your-tiers.md)
* [Sync tiers to customers](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers.md)
* [Monthly store credit balance reminders](https://help.dollarlabs.io/dollarback-store-credit/notifications/monthly-store-credit-balance-reminders.md)
* [Shopify Flow: triggers & actions](https://help.dollarlabs.io/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions.md)
