bluebarry.
ReviewsPricingResources
Sign inBook demoBook a 15 min demo
Help Center/Quiz builder/Offer a discount code on the result page

Offer a discount code on the result page

Martijn Douma
Martijn Douma · Co-founder bluebarry
Updated October 5, 2026

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, WooCommerce, CCV Shop and Magento, bluebarry can also put it in the cart for them.

Add the code to your email question

Question settings of an Email question with the Discount code section open, showing the code, Auto-apply on Shopify and Discount amount
  1. Create the discount code in your store first, for example WELCOME10.
  2. In the sidebar, go to Quiz funnels → All quizzes and click Edit on your quiz.
  3. On Design quiz, click your Email question in the Questions list. No email question yet? Add one and set its type to Email.
  4. In Question settings, open Discount code and type the code.
  5. Switch on Auto-apply if you want the code added to the cart automatically. The switch is named after your store, for example Auto-apply on Shopify, and shows once a Shopify, WooCommerce, CCV Shop or Magento store is connected.
  6. 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.
  7. 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.

Give each shopper their own code

Instead of one code for everyone, bluebarry can create a code for each shopper. In the Discount code section of your email question, switch on A unique code per person. You set the discount, and bluebarry creates a code in your store for every shopper who leaves their email. Every code works once.

  • Discount: a percentage, a fixed amount or free shipping.
  • Valid for (days) and Minimum order: how long the code works and, if you want, the smallest order it counts for.
  • Code starts with: the start of every code, for example WELCOME. bluebarry adds eight characters nobody can guess.
  • Profile property: the name the code is saved under on the shopper's profile, discount_code unless you change it. Its last valid day is saved next to it as discount_code_expires. Both are sent to Klaviyo, Omnisend and Spotler, so your welcome email can show the code.
  • Show the code on screen: switch it off when the code should only arrive by email. The success screen then says the code is on its way to the inbox, so a made-up address gets nothing. You need an email that sends the code, and Studio warns you when no email tool is connected.

The result page shows the code once your store has created it, which takes a moment. With Show the code on screen off, the result page only says the code is on its way to the inbox. A shopper who takes the quiz again gets the code they already have, and a new one once it has expired. In the Studio preview you see an example code. Real codes are only made for shoppers on your published quiz.

This works on Shopify, WooCommerce, CCV Shop and Magento. Studio tells you when your store cannot create codes yet and what to do about it. On Magento a cart takes one discount code: a shopper who entered a code of their own keeps that one and can swap it themselves. A free shipping code works there with shipping methods that follow Magento's own free shipping rules.

What shoppers see

Discount banner on the result page
Your setupWhat 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 onbluebarry adds the code to the 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 store, shoppers see the copy banner instead.
No codeNo 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

  1. Click Result page in the left panel.
  2. 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:”.
  3. 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

Discount settings
SettingWhereWhat it does
Discount codeEmail question settingsThe code shown on the result page after the shopper enters their email.
A unique code per personEmail question settingsbluebarry creates a single-use code in your store for each shopper, with the discount you set.
Auto-applyEmail question settings, once a code is filled in and a Shopify, WooCommerce, CCV Shop or Magento store is connectedAdds the code to the cart when the result page opens.
Discount amountEmail question settings, once a code is filled inWhat the code is worth, for display only.
Banner textThe discount banner on the result pageReplaces the default text before the code.

Popups can hand out a code too, the moment someone signs up. See create a popup.

Related articles

Create and edit questions

Add quiz questions by hand or with AI, choose one of eight question types, and set options such as required answers, consent and layout.

Read article →

Preview and test a quiz

Click through your quiz like a shopper, see which products each answer path returns and why, and find out why an expected product is missing.

Read article →

Create a popup

Start a popup from a template, an image or scratch, design it with Barry, and preview it on desktop and mobile before it goes live.

Read article →

Can’t figure it out? We probably can.

Every article here was written by the people who built the product. If one of them still leaves you stuck, tell us and we’ll fix it.

Contact usJoin Discord, free forever
bluebarry.

Helping beauty, health and outdoor brands reach their dream AOV

[email protected]+31 6 57 16 10 87De Ried 10, 9285KK Buitenpost (The Netherlands)
Martijn DoumaStan van RooyAnco PostmaJelmer Reitsma

The guys that are increasing your AOV.

Platform
Quiz funnelsLanding pagesProduct QuizRecommendationsSearchIntegrationsPricing
Resources
CasesHelp centerFAQCompare
Company
Contact usPartners & affiliateReviewsRequest demo
Book a 15 min demo
© 2026 bluebarry. All rights reserved.
Privacy PolicyCookie PolicyTerms & Conditions
English/Nederlands/Deutsch
bluebarry