Add the quiz to your theme

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

  1. Under Storefront, select Add to theme. The theme editor opens with the Product quiz block from BlastRev ready to add on your home page.
  2. To place it on another page instead, open that page's template in the theme editor and add the block there.
  3. Paste the ID into the block's Quiz ID setting.
  4. 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:

SettingOptions
StyleTheme, Editorial, Soft or Focus. Theme matches your store most closely.
Button color and Button text colorAlso used for selected answers and focus rings. Keep a contrast ratio of at least 4.5:1.
Corner radius0 to 20 px. 0 gives square corners.
Title fontYour theme's body font or heading font, for the heading, questions and result titles
Answer layoutGrid or list. Phones always show a list, and image answers always show a grid.
AlignmentLeft or center
Maximum width640 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:

  1. In the theme editor, open App embeds and turn on Quiz launcher.
  2. Paste the quiz ID into Quiz ID.
  3. Under Show as, pick Floating button, Popup, or both.
  4. Choose where it shows: all pages, the home page, product pages or collection pages.
  5. 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.
  6. 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.

Still have a question?

Write to support@blastrev.com. We answer within one business day, in English or German.