Reward shoppers who complete the quiz with a discount code that appears on the result page. On Shopify stores, bluebarry can also apply the code automatically when shoppers reach checkout.
Attach a Discount Code to the Email Question

- Go to Dashboard.
- Open the quiz funnel you want to edit.
- Click Design quiz.
- Select the Email question in the question list.
- In Question settings, find the Discount code field and enter the code from your store (for example
WELCOME10). - If your quiz uses the Shopify embed, toggle Auto-apply on Shopify on.
- Continue editing the quiz or publish when you are ready.
Only one question in a quiz should carry a discount code. If you set codes on more than one email question, bluebarry uses the first email question that has a non-empty code.
Customize the Result-Page Label
The result page shows a default label such as "Your discount code: WELCOME10". When auto-apply is on, it switches to "Discount WELCOME10 will be applied at checkout". You can override that text per quiz.
- From the quiz editor, open the Result screen.
- Click the discount banner above the recommendations.
- Edit the text. The change is saved when you click away from the field.
- Leave the field empty to use the default copy.
The label limit is 200 characters. Use the code placeholder by simply typing the code value—bluebarry shows whatever text you save.
How It Looks for Shoppers
| Setting | What shoppers see |
|---|---|
| Discount code filled, Auto-apply on Shopify off | "Your discount code: WELCOME10" on the result page. Shoppers copy the code and paste it at checkout. |
| Discount code filled, Auto-apply on Shopify on (Shopify embed detected) | "Discount WELCOME10 will be applied at checkout". When the shopper clicks through to a product page, bluebarry calls Shopify's discount endpoint so the code is already applied in the cart. |
| Discount code empty | No discount banner appears on the result page. |
Shoppers see the banner in the same language as the rest of the quiz. The default banner copy is translated into English, Dutch, German, French, Spanish, Italian, and a fallback locale.
Settings Reference
| Setting | What it controls | Default |
|---|---|---|
| Discount code | Code that appears in the result-page banner and that bluebarry forwards to the Shopify cart when auto-apply is on. | empty |
| Auto-apply on Shopify | On Shopify embeds, sends the code to Shopify's /discount/{code} route when shoppers reach the result page. | off |
| Discount banner label (result page) | Replaces the default "Your discount code: …" / "Discount … applied" copy on the result page. | empty (uses default copy) |