How to Set Up a Quiz Link Popup on Your Store¶
This guide will walk you through the process of setting up a Quiz Link Popup on your eCommerce store.
This feature allows your customers to access a quiz through a popup by clicking on a link within your site's navigation menu, a button, a banner or any page or blog post. It's a great way to engage visitors and collect valuable data.
Before you start, ensure you have:
- access to your eCommerce store's admin dashboard
- the necessary permissions to edit themes, pages and navigation settings
Link Popup in Website Menu¶
- Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink > Show Instructions for legacy themes
. Click onGet the code
to copy the link provided. - Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to
Online Store > Themes
. Find your current theme and click on theCustomize
button. - Activate App Embeds: Go to
Online Store > Theme > Customize
. Within the theme customization area, go toApp Embeds
. Look for the Link Popup Quiz option and toggle it on. This action will automatically add theembed.js
script to your site, enabling quiz links to load in an iframe popup. - Navigate to Your Site's Menus Settings: From your Shopify dashboard, go to
Content > Menus
. Open the menu you wish to add the quiz link to. - Add a New Menu Item: Click on the
Add menu item
button. In the label field, type in a title for your quiz link, such as "Take Our Quiz". - Insert the Popup Link Code: Paste the previously copied code into the link field and then click on
Save
. - Save Your Changes: Don't forget to click the
Save
button to apply the changes to your navigation menu.
With Version 2 of the RevenueHunt app, you can easily create links to open a quiz popup anywhere on your website.
To add a popup link to a menu item or button in Shopify, simply type the #quiz
as the link and save your changes.
When clicked, the default quiz for your store will open. If you've configured Shopify Markets, the default quiz for that specific market will be shown instead.
Step by step instructions:
- Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to
Online Store > Themes
. Find your current theme and click on theCustomize
button. - Activate App Embeds: Go to
Online Store > Theme > Customize
. Within the theme customization area, go toApp Embeds
. Look for the Link Popup V2 Quiz option and toggle it on. This action will automatically add theembed.js
script to your site, enabling quiz links to load in an iframe popup. - Navigate to Your Site's Menus Settings: From your Shopify dashboard, go to
Content > Menus
. Open the menu you wish to add the quiz link to. - Add a New Menu Item: Click on the
Add menu item
button. In the label field, type in a title for your quiz link, such as "Take Our Quiz". -
Insert the #quiz Code: Type
#quiz
into the link field and then click onSave
. -
Save Your Changes: Don't forget to click the
Save
button to apply the changes to your navigation menu.When clicked, the default quiz for your store will open. If you've configured Shopify Markets, the default quiz for that specific market will be shown instead.
- Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - Go to the
Appearance
tab and open theMenus
. - Pick a menu and add a
Custom Link
. Paste the copied link into theURL
section and edit the link text, for example, you can call it "Coffee Quiz". - Make sure to save the changes with the
Save Menu
button.
- Add the following embed.js script before the
</head>
close tag in the header. Without it, the quiz won't be loaded on your website. - Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - Navigate to your
Catalog > Categories
and follow Adobe instructions to create a new menu level or a custom menu item. Use the link copied from the app to create this menu item. - Remember to save the changes.
- Add the following embed.js script before the
</head>
close tag in the header. Without it, the quiz won't be loaded on your website. - Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - Navigate to your
Storefront > Web Pages
menu and clickCreate a Web Page
. - Under
Page Type
select that This Page WillLink to Another website or document
. - Under
Web Page Details
use the Quiz Name asPage Name
then paste the link copied from the app in theLink
field. - Under
Navigation Menu Options
tick the box to show this web page on the navigation menu. Choose a Parent Page if you like or leave with No Parent Page. - Remember to save the changes with
Save & Exit
.
- Add the following embed.js script before the
</head>
close tag in the header. Without it, the quiz won't be loaded on your website. - Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - Navigate to your eCommerce platform Navigation Menu settings and add a new item. Paste the link copied from the app.
- Remember to save the changes.
Link Popup as "Take the Quiz" Button¶
- Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink > Show Instructions for legacy themes
. Click onGet the code
to copy the link provided. - Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to
Online Store > Themes
. Find your current theme and click on theCustomize
button. - Activate App Embeds: Go to
Online Store > Theme > Customize
. Within the theme customization area, go toApp Embeds
. Look for the Link Popup Quiz option and toggle it on. This action will automatically add theembed.js
script to your site, enabling quiz links to load in an iframe popup. - Navigate to Themes: Go to
Online Store > Themes
. - Enter Theme Customization: Find the theme you wish to edit and click on the "Customize" button.
- Add a New Section: Click on "Add section" and select "Image banner" (or a similar option) from the list.
- Insert a Button Block: Within the "Image banner" section, add a new block and choose the "Button" option.
- Paste the Quiz Link: Click on the newly added button block to edit its settings. Paste the link to your quiz in the appropriate field.
- Save Changes: Make sure to save your changes by clicking on the "Save" button.
With Version 2 of the RevenueHunt app, you can easily create links to open a quiz popup anywhere on your website.
To add a popup link to a menu item or button in Shopify, simply type the #quiz
as the link and save your changes.
When clicked, the default quiz for your store will open. If you've configured Shopify Markets, the default quiz for that specific market will be shown instead.
Step by step instructions:
- Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to
Online Store > Themes
. Find your current theme and click on theCustomize
button. - Activate App Embeds: Go to
Online Store > Theme > Customize
. Within the theme customization area, go toApp Embeds
. Look for the Link Popup V2 Quiz option and toggle it on. This action will automatically add theembed.js
script to your site, enabling quiz links to load in an iframe popup. - Navigate to Themes: Go to
Online Store > Themes
. - Enter Theme Customization: Find the theme you wish to edit and click on the "Customize" button.
- Add a New Section: Click on "Add section" and select "Image banner" (or a similar option) from the list.
- Insert a Button Block: Within the "Image banner" section, add a new block and choose the "Button" option.
-
Paste the Quiz Link: Click on the newly added button block to edit its settings. Type
#quiz
in the appropriate link field.When clicked, the default quiz for your store will open. If you've configured Shopify Markets, the default quiz for that specific market will be shown instead.
-
Save Changes: Make sure to save your changes by clicking on the "Save" button.
- Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - In WordPress, go to
Pages
and find the page that corresponds to the Front Page. Click 'Edit'. - In the WordPress Page Builder add a
Buttons
block. This will automatically add one button to your page builder. - Edit the button text and settings, for example, write "Take the Quiz".
- Then, add a
Link
to the element. UnderSearch or type URL
paste the code copied from the app. Accept with enter. - Remember to save the changes and update the live page.
- From now on, whenever someone clicks on the button, a quiz popup will open.
- Add the following embed.js script before the
</head>
close tag in the header. Without it, the quiz won't be loaded on your website. - Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - In your Magento dashbaord go to
Content
>Blocks
. ClickAdd New Block
. - Edit the Block Title, Identifier and Store View and click
Edit with Page Builder
. - Select
Elements
>Rows
and drag a row into the canvas. - Next open
Buttons
. Drag the button onto the Row. - Edit the Button Text and click the gear icon to open
button settings
. - Under
Button Link
paste the link copied from the app. - Remember to save the changes.
- From now on, whenever someone clicks on the button, a quiz popup will open.
- Add the following embed.js script before the
</head>
close tag in the header. Without it, the quiz won't be loaded on your website. - Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - In BigCommerce, go to
Storefront
>Web Pages
. Find the main page. - Switch to the
HTML
editor. Find the place where you want to add the button and add the following HTML code. Remember to replace the#quiz-QUIZID
with the link copied from the app. - Save the changes.
- From now on, whenever someone clicks on the button, a quiz popup will open.
- Add the following embed.js script before the
</head>
close tag in the header. Without it, the quiz won't be loaded on your website. - Obtain the Popup Link Code: Go to the
Share
section of the app, then toLink
. - Edit the Popup Options and click on
Get the code
to copy the link provided. - In your store customization options find the main page.
- Find the place where you want to add the button and find the button element. Add button text and paste the link copied from the app.
- (alternatively) Find an HTML element and add the following HTML code. Remember to replace the
#quiz-QUIZID
with the link copied from the app. - Save the changes.
- From now on, whenever someone clicks on the button, a quiz popup will open.
Popup Displays Behind Website Header¶
If the Quiz Popup displays behind your website header or the X
closing button is not visible it's likely that your website's header has an unusually high z-index. This can be fixed either from the app settings or from your website's theme.
If the Quiz Popup displays behind your website header or the X
closing button is not visible, try these solutions:
- Decrease the Z-index of your website's header. You may need to check your theme files or contact your theme developer to do this.
- Move the
X
closing sign lower. You can move theX
quiz closing sign lower on the popup with a bit of custom HTML/CSS code that can be added to your website's theme or an empty HTML/custom liquid block on the page where the quiz popup is shown. Here's a sample code: - Publish the quiz inline with a page instead. If you don't want to make changes you can publish the quiz inline on a new page in your store. This way the quiz will be a part of it and you can link to that quiz page from other parts of your website. Check the instructions here.
The z-index determines the order of elements on the page. If the quiz popup is behind your website header or the X
closing button is not visible, you can try to change the z-index configuration option in the app settings.
Here is how to change the z-index configuration option in the app settings:
- Go to your Shopify admin dashboard and navigate to
Online Store > Themes > Customize
. - Within theme customization, go to
App Embeds
and find theV2 - Link Popup
settings. - Look for the z-index setting and increase the value (try with 1000 first, if that doesn't work, try 10000).
- Save your changes.
Note
Setting the z-index too high might hide other elements like chat buttons. The ideal setting will depend on your specific theme's configuration.
If adjusting the z-index setting doesn't solve the issue, try to publish the quiz inline with a page instead. Check the instructions here.
If the Quiz Popup displays behind your website header or the X
closing button is not visible, try these solutions:
- Decrease the Z-index of your website's header. You may need to check your theme files or contact your theme developer to do this.
- Move the
X
closing sign lower. You can move theX
quiz closing sign lower on the popup with a bit of custom HTML/CSS code that can be added to your website's theme or an empty HTML block on the page where the quiz popup is shown. Here's a sample code: - Publish the quiz inline with a page instead. If you don't want to make changes you can publish the quiz inline on a new page in your store. This way the quiz will be a part of it and you can link to that quiz page from other parts of your website. Check the instructions here.
If the Quiz Popup displays behind your website header or the X
closing button is not visible, try these solutions:
- Decrease the Z-index of your website's header. You may need to check your theme files or contact your theme developer to do this.
- Move the
X
closing sign lower. You can move theX
quiz closing sign lower on the popup with a bit of custom HTML/CSS code that can be added to your website's theme. Here's a sample code: - Publish the quiz inline with a page instead. If you don't want to make changes you can publish the quiz inline on a new page in your store. This way the quiz will be a part of it and you can link to that quiz page from other parts of your website. Check the instructions here.
If the Quiz Popup displays behind your website header or the X
closing button is not visible, try these solutions:
- Decrease the Z-index of your website's header. You may need to check your theme files or contact your theme developer to do this.
- Move the
X
closing sign lower. You can move theX
quiz closing sign lower on the popup with a bit of custom HTML/CSS code that can be added to your website's theme. Here's a sample code: - Publish the quiz inline with a page instead. If you don't want to make changes you can publish the quiz inline on a new page in your store. This way the quiz will be a part of it and you can link to that quiz page from other parts of your website. Check the instructions here.
If the Quiz Popup displays behind your website header or the X
closing button is not visible, try these solutions:
- Decrease the Z-index of your website's header. You may need to check your theme files or contact your theme developer to do this.
- Move the
X
closing sign lower. You can move theX
quiz closing sign lower on the popup with a bit of custom HTML/CSS code that can be added to your website's theme. Here's a sample code: - Publish the quiz inline with a page instead. If you don't want to make changes you can publish the quiz inline on a new page in your store. This way the quiz will be a part of it and you can link to that quiz page from other parts of your website. Check the instructions here.
You've successfully set up a Quiz Link Popup on your eCommerce store. Don't forget to click on the "Save" button so the changes are reflected in your store.
Linking to Multiple Quizzes¶
In some cases, you might want to have links to different quizzes on the same page. This section explains how to set up multiple quiz links for different platforms.
For Shopify (V1), you can link to specific quizzes by creating different popup links for each quiz.
- Go to the
Share
section for each quiz. - Navigate to
Link > Show Instructions for legacy themes
. - Click on
Get the code
to copy the unique link for that specific quiz. - Add each unique link to different menu items, buttons, or page elements.
For Shopify V2, you can link to specific quizzes by using the format #quiz-QUIZID
instead of just #quiz
.
- Find Your Quiz ID: Go to the dashboard and locate the quiz you want to link to.
- Copy the Quiz ID: Click the
...
three dots next to the quiz and select "Copy Quiz ID."
-
Create Your Link: Use the format
#quiz-QUIZID
for your link. For example, if your quiz ID is "DmHLGj", your link would be#quiz-DmHLGj
. -
Add the Link: Follow the same steps as described earlier for adding a link to a menu item or button, but use your specific quiz link instead of just
#quiz
.
Example use cases:
- Different quizzes for different product categories (e.g., "#quiz-ABC123" for skincare quiz, "#quiz-XYZ789" for makeup quiz)
- A/B testing different quiz versions
- Seasonal or promotional quizzes alongside your main quiz
Legacy Integration Support
If you're using both V1 and V2 integrations simultaneously (very rare case), you can use #quizV2-QUIZID
to specifically target V2 quizzes.
For WooCommerce, each quiz has its own unique link code:
For Magento, each quiz has its own unique link code:
For BigCommerce, each quiz has its own unique link code:
For standalone implementations, each quiz has its own unique link code: