A discount code is a simple thank-you for shoppers who finish your quiz and leave their email address, and a nudge to buy what you recommended. The code shows on the result page. On Shopify, bluebarry can also put it in the cart for them.
Add the code to your email question

- Create the discount code in your store first, for example
WELCOME10. - In the sidebar, go to Quiz funnels → All quizzes and click Edit on your quiz.
- On Design quiz, click your Email question in the Questions list. No email question yet? Add one and set its type to Email.
- In Question settings, open Discount code and type the code.
- On Shopify, switch on Auto-apply on Shopify if you want the code added to the cart automatically.
- Optionally fill in Discount amount as a percentage or an amount. It is only used for display; the code in your store decides the actual discount.
- Publish the quiz to make the code live.
A quiz can have one discount code. If you add a code to a second email question, bluebarry warns you and removes the code from the first one when you save.
What shoppers see
| Your setup | What shoppers see |
|---|---|
| Code filled in, auto-apply off | "Your discount code: WELCOME10" above the recommendations. Clicking the code copies it, ready to paste at checkout. |
| Code filled in, auto-apply on (Shopify) | bluebarry adds the code to the Shopify cart as soon as the result page opens, and the banner says "Discount WELCOME10 will be applied at checkout". If that does not work, for example on a page outside your Shopify store, shoppers see the copy banner instead. |
| No code | No banner. |
The default banner text appears in the shopper's browser language when it is English, Dutch, German, French, Spanish, Italian, Swedish, Romanian or Polish, and in English otherwise.
Change the banner text
- Click Result page in the left panel.
- Click the text of the discount banner in the preview and type your own, such as “Thanks for taking the quiz. Here is 10% off:”.
- Click outside the text to save it. Clear it to go back to the default.
Your own text is used for every shopper, whatever their language, and can be up to 200 characters. In the copy banner the code still shows next to your text. With auto-apply on, your text replaces the whole message, so include the code in it if you want shoppers to see it.
Settings at a glance
| Setting | Where | What it does |
|---|---|---|
| Discount code | Email question settings | The code shown on the result page after the shopper enters their email. |
| Auto-apply on Shopify | Email question settings, once a code is filled in and Shopify is connected | Adds the code to the Shopify cart when the result page opens. |
| Discount amount | Email question settings, once a code is filled in | What the code is worth, for display only. |
| Banner text | The discount banner on the result page | Replaces the default text before the code. |
Popups can hand out a code too, the moment someone signs up. See create a popup.