---
title: Limit to first-time customers only
slug: limit-to-first-time-customers-only
description: Create leak-proof Roster codes that apply only to new customers, so returning shoppers can't reuse an exclusive first-purchase discount.
docTags: 
createdAt: 2026-06-05T21:06:37.577Z
---

Setting up a leak-proof code in Roster allows you to create exclusive discount codes that only apply to new customers. This ensures that the discount is not used by individuals who have previously made a purchase from your store. By using a leak-proof code, you can incentivize first-time buyers while managing your discount offerings effectively. Here’s how to set it up.

***

## Step-by-step instructions

::::WorkflowBlock
:::WorkflowBlockItem
### Access the program settings

1. Navigate to `Programs` in the left-hand navigation menu.
2. Select the program you want to set up the leak-proof code for, such as your influencer program.
3. Click on `Program settings`.
:::

:::WorkflowBlockItem
### Set up the smart link and discount

1. Go to the `Referrals` tab.
2. In the `Smart link` card, set up your smart link if not already done.
3. Open the `Customer discount` section.
4. From the dropdown, select `Apply a leak-proof code to the order`.
5. Set the discount value, e.g., 25%.
6. Optionally, constrain the discount to specific products or collections.
7. Turn off `Allow discounts` to ensure the discount is only applicable to first-time customers.
8. Click `Save`.
:::

:::WorkflowBlockItem
### Configure the discount in Shopify

1. Go to the `Discounts` section in the left-hand navigation menu.
2. Click on the new leak-proof code discount rule.
3. Click `View in Shopify` to open the discount in Shopify admin.
4. In the Shopify admin, navigate to the `Eligibility` section.
5. Select `Customer segments`.
6. Choose the segment titled `Customers who haven't purchased`.
7. Click `Add` and then `Save` to restrict the discount to new customers only.
:::

:::WorkflowBlockItem
### Verify the discount application

1. Copy a smart link from an ambassador's profile, e.g., Julie's profile, in the `Discounts and links` section.
2. Open an incognito browser window to test the link.
3. Add a product to the cart and proceed to checkout.
4. Verify that the leak-proof code applies automatically for non-logged-in or new customers.
5. If an existing customer logs in, ensure the discount code is automatically removed.
:::

:::WorkflowBlockItem
### Customize eligibility and segments

1. In the Shopify admin, navigate to `Customers` > `Segments`.
2. Review or create customer segments as needed.
3. Apply any additional eligibility criteria to your discount codes, such as purchase history or specific time frames.
:::

:::WorkflowBlockItem
### Fine-tune discount eligibility

1. Use Shopify's segment creation tools to define who is eligible for the discount.
2. Customize constraints such as purchase frequency or inactivity.
3. Apply these segments to your Roster leak-proof code to ensure precise targeting.
:::
::::

***

## Need help?

If you need any additional assistance with with your Roster account, feel free to contact our support team at [support@getroster.com](mailto\:support@getroster.com). We're here to help!
