Skip to content

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

  1. Obtain the Popup Link Code: Go to the Share section of the app, then to Link > Show Instructions for legacy themes. Click on Get the code to copy the link provided.
  2. Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to Online Store > Themes. Find your current theme and click on the Customize button.
  3. Activate App Embeds: Go to Online Store > Theme > Customize. Within the theme customization area, go to App Embeds. Look for the Link Popup Quiz option and toggle it on. This action will automatically add the embed.js script to your site, enabling quiz links to load in an iframe popup. how to publish quiz link popup app embeds
  4. 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. how to publish link popup shopify v2 menu
  5. 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".
  6. Insert the Popup Link Code: Paste the previously copied code into the link field and then click on Save. how to publish link popup shopify v2
  7. 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.

how to publish link popup shopify v2

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:

  1. Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to Online Store > Themes. Find your current theme and click on the Customize button.
  2. Activate App Embeds: Go to Online Store > Theme > Customize. Within the theme customization area, go to App Embeds. Look for the Link Popup V2 Quiz option and toggle it on. This action will automatically add the embed.js script to your site, enabling quiz links to load in an iframe popup. how to publish quiz link popup app embeds
  3. 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. how to publish link popup shopify v2 menu
  4. 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".
  5. Insert the #quiz Code: Type #quiz into the link field and then click on Save. how to publish link popup shopify v2

  6. 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.

  1. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  2. Edit the Popup Options and click on Get the code to copy the link provided.
  3. Go to the Appearance tab and open the Menus.
  4. Pick a menu and add a Custom Link. Paste the copied link into the URL section and edit the link text, for example, you can call it "Coffee Quiz". how to publish quiz woo link-popup menu
  5. Make sure to save the changes with the Save Menu button.
  1. Add the following embed.js script before the </head> close tag in the header.
    <script src="https://admin.revenuehunt.com/embed.js" async></script>
    
    Without it, the quiz won't be loaded on your website.
  2. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  3. Edit the Popup Options and click on Get the code to copy the link provided.
  4. 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.
  5. Remember to save the changes.
  1. Add the following embed.js script before the </head> close tag in the header.
    <script src="https://admin.revenuehunt.com/embed.js" async></script>
    
    Without it, the quiz won't be loaded on your website.
  2. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  3. Edit the Popup Options and click on Get the code to copy the link provided.
  4. Navigate to your Storefront > Web Pages menu and click Create a Web Page.
  5. Under Page Type select that This Page Will Link to Another website or document.
  6. Under Web Page Details use the Quiz Name as Page Name then paste the link copied from the app in the Link field.
  7. 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.
  8. Remember to save the changes with Save & Exit.
  1. Add the following embed.js script before the </head> close tag in the header.
    <script src="https://admin.revenuehunt.com/embed.js" async></script>
    
    Without it, the quiz won't be loaded on your website.
  2. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  3. Edit the Popup Options and click on Get the code to copy the link provided.
  4. Navigate to your eCommerce platform Navigation Menu settings and add a new item. Paste the link copied from the app.
  5. Remember to save the changes.

  1. Obtain the Popup Link Code: Go to the Share section of the app, then to Link > Show Instructions for legacy themes. Click on Get the code to copy the link provided.
  2. Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to Online Store > Themes. Find your current theme and click on the Customize button.
  3. Activate App Embeds: Go to Online Store > Theme > Customize. Within the theme customization area, go to App Embeds. Look for the Link Popup Quiz option and toggle it on. This action will automatically add the embed.js script to your site, enabling quiz links to load in an iframe popup. how to publish quiz link popup app embeds
  4. Navigate to Themes: Go to Online Store > Themes.
  5. Enter Theme Customization: Find the theme you wish to edit and click on the "Customize" button.
  6. Add a New Section: Click on "Add section" and select "Image banner" (or a similar option) from the list.
  7. Insert a Button Block: Within the "Image banner" section, add a new block and choose the "Button" option.
  8. 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.
  9. 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.

how to publish link popup shopify v2

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:

  1. Access Theme Customization: Log in to your Shopify admin dashboard. Navigate to Online Store > Themes. Find your current theme and click on the Customize button.
  2. Activate App Embeds: Go to Online Store > Theme > Customize. Within the theme customization area, go to App Embeds. Look for the Link Popup V2 Quiz option and toggle it on. This action will automatically add the embed.js script to your site, enabling quiz links to load in an iframe popup. how to publish quiz link popup app embeds
  3. Navigate to Themes: Go to Online Store > Themes.
  4. Enter Theme Customization: Find the theme you wish to edit and click on the "Customize" button.
  5. Add a New Section: Click on "Add section" and select "Image banner" (or a similar option) from the list.
  6. Insert a Button Block: Within the "Image banner" section, add a new block and choose the "Button" option.
  7. Paste the Quiz Link: Click on the newly added button block to edit its settings. Type #quiz in the appropriate link field. how to publish link popup shopify v2 button

    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.

  8. Save Changes: Make sure to save your changes by clicking on the "Save" button.

  1. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  2. Edit the Popup Options and click on Get the code to copy the link provided.
  3. In WordPress, go to Pages and find the page that corresponds to the Front Page. Click 'Edit'.
  4. In the WordPress Page Builder add a Buttons block. This will automatically add one button to your page builder.
  5. Edit the button text and settings, for example, write "Take the Quiz".
  6. Then, add a Link to the element. Under Search or type URL paste the code copied from the app. Accept with enter.
  7. Remember to save the changes and update the live page.
  8. From now on, whenever someone clicks on the button, a quiz popup will open.
  1. Add the following embed.js script before the </head> close tag in the header.
    <script src="https://admin.revenuehunt.com/embed.js" async></script>
    
    Without it, the quiz won't be loaded on your website.
  2. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  3. Edit the Popup Options and click on Get the code to copy the link provided.
  4. In your Magento dashbaord go to Content > Blocks. Click Add New Block.
  5. Edit the Block Title, Identifier and Store View and click Edit with Page Builder.
  6. Select Elements > Rows and drag a row into the canvas.
  7. Next open Buttons. Drag the button onto the Row.
  8. Edit the Button Text and click the gear icon to open button settings.
  9. Under Button Link paste the link copied from the app.
  10. Remember to save the changes.
  11. From now on, whenever someone clicks on the button, a quiz popup will open.
  1. Add the following embed.js script before the </head> close tag in the header.
    <script src="https://admin.revenuehunt.com/embed.js" async></script>
    
    Without it, the quiz won't be loaded on your website.
  2. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  3. Edit the Popup Options and click on Get the code to copy the link provided.
  4. In BigCommerce, go to Storefront > Web Pages. Find the main page.
  5. 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.
    <a class="button" href="#quiz-QUIZID">Take the Quiz</a>
    
  6. Save the changes.
  7. From now on, whenever someone clicks on the button, a quiz popup will open.
  1. Add the following embed.js script before the </head> close tag in the header.
    <script src="https://admin.revenuehunt.com/embed.js" async></script>
    
    Without it, the quiz won't be loaded on your website.
  2. Obtain the Popup Link Code: Go to the Share section of the app, then to Link.
  3. Edit the Popup Options and click on Get the code to copy the link provided.
  4. In your store customization options find the main page.
  5. 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.
  6. (alternatively) Find an HTML element and add the following HTML code. Remember to replace the #quiz-QUIZID with the link copied from the app.
    <a class="button" href="#quiz-QUIZID">Take the Quiz</a>
    
  7. Save the changes.
  8. From now on, whenever someone clicks on the button, a quiz popup will open.

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 the X 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:
    <style>
    .rh-widget span {
    top: 150px !important;
    }
    </style>
    
  • 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:

  1. Go to your Shopify admin dashboard and navigate to Online Store > Themes > Customize.
  2. Within theme customization, go to App Embeds and find the V2 - Link Popup settings.
  3. Look for the z-index setting and increase the value (try with 1000 first, if that doesn't work, try 10000).
  4. Save your changes.

z-index setting in V2 Link Popup

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 the X 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:
    <style>
    .rh-widget span {
    top: 150px !important;
    }
    </style>
    
  • 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 the X 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:
    <style>
    .rh-widget span {
    top: 150px !important;
    }
    </style>
    
  • 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 the X 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:
    <style>
    .rh-widget span {
    top: 150px !important;
    }
    </style>
    
  • 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 the X 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:
    <style>
    .rh-widget span {
    top: 150px !important;
    }
    </style>
    
  • 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.

  1. Go to the Share section for each quiz.
  2. Navigate to Link > Show Instructions for legacy themes.
  3. Click on Get the code to copy the unique link for that specific quiz.
  4. 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.

  1. Find Your Quiz ID: Go to the dashboard and locate the quiz you want to link to.
  2. Copy the Quiz ID: Click the ... three dots next to the quiz and select "Copy Quiz ID."

manual_shopifyV2_quizmanagementoptions

  1. 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.

  2. 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:

  1. Go to the Share section for each quiz you want to link to.
  2. Navigate to Link and edit the Popup Options.
  3. Click on Get the code to copy the unique link for each quiz.
  4. Add these links to different menu items, buttons, or page elements as needed.

For Magento, each quiz has its own unique link code:

  1. Go to the Share section for each quiz you want to link to.
  2. Navigate to Link and edit the Popup Options.
  3. Click on Get the code to copy the unique link for each quiz.
  4. Add each unique link to different menu items, buttons, or page elements.

For BigCommerce, each quiz has its own unique link code:

  1. Go to the Share section for each quiz you want to link to.
  2. Navigate to Link and edit the Popup Options.
  3. Click on Get the code to copy the unique link for each quiz.
  4. Add these links to different web pages, menu items, buttons, or other elements as needed.

For standalone implementations, each quiz has its own unique link code:

  1. Go to the Share section for each quiz you want to link to.
  2. Navigate to Link and edit the Popup Options.
  3. Click on Get the code to copy the unique link for each quiz.
  4. Add these links to different menu items, buttons, or page elements as needed.