A quiz shows in your store through the theme editor, with no code in your theme files. You can place it on a page as a Product quiz block, open it from a floating button or popup with the Quiz launcher, or both.
Before you start
- Publish the quiz in BlastRev under Storefront. Draft quizzes are never shown to shoppers.
- Copy the quiz ID: under Storefront, select Copy ID next to Quiz ID.
Place the quiz on a page
- Under Storefront, select Add to theme. The theme editor opens with the Product quiz block from BlastRev ready to add on your home page.
- To place it on another page instead, open that page's template in the theme editor and add the block there.
- Paste the ID into the block's Quiz ID setting.
- Save the theme.
In the theme editor, a draft quiz shows "This quiz is not published yet." Shoppers do not see the block until the quiz is live.
Make it look like your store
Every style uses your theme's fonts. In the block settings you can change:
| Setting | Options |
|---|---|
| Style | Theme, Editorial, Soft or Focus. Theme matches your store most closely. |
| Button color and Button text color | Also used for selected answers and focus rings. Keep a contrast ratio of at least 4.5:1. |
| Corner radius | 0 to 20 px. 0 gives square corners. |
| Title font | Your theme's body font or heading font, for the heading, questions and result titles |
| Answer layout | Grid or list. Phones always show a list, and image answers always show a grid. |
| Alignment | Left or center |
| Maximum width | 640 to 1600 px |
Heading and Intro text set the words above the quiz.
Open the quiz from a button or popup
The Quiz launcher is an app embed, so it works on every page without placing a block:
- In the theme editor, open App embeds and turn on Quiz launcher.
- Paste the quiz ID into Quiz ID.
- Under Show as, pick Floating button, Popup, or both.
- Choose where it shows: all pages, the home page, product pages or collection pages.
- For the popup, choose whether it opens after a delay or when the shopper is about to leave, and whether it shows once per visit or on every page view.
- Save the theme.
Page speed
The quiz scripts load deferred, after the page itself, and only on pages where the block or launcher is placed.
Remove the quiz
Remove the block in the theme editor, or turn off the Quiz launcher embed. Unpublishing the quiz in BlastRev also hides it from shoppers.
Questions: support@blastrev.com. We answer within one business day.