Skip to main content
All CollectionsGetting started
How to embed a quiz to your Shopify store with a code snippet
How to embed a quiz to your Shopify store with a code snippet

Here's how to embed a quiz on your Shopify store with a code snippet.

Gabe avatar
Written by Gabe
Updated yesterday

If you can't use page sections (the easy way), you can embed a quiz with a code snippet anywhere on your store that renders HTML.

First, open the quiz you want to use and go to the Publish section.

The quiz Publish section.

In the Publish section, you can find and copy your quiz HTML snippet and paste it into any HTML element.

What is an HTML element?

An HTML element means is any area that accepts HTML. For example, Shopify pages and collection descriptions can accept HTML. Here's an example of toggling the HTML area on a Shopify page and on a collection description to add your code snippet.

Add the quiz embed code snippet

Showing the HTML area on a Shopify page. You can add this code snippet anywhere that accepts HTML.

⚠️ Note: This will not work if you paste your code snippet into a regular text area that does not render HTML.

Showing the HTML area on a Shopify page.

Just paste the quiz button code snippet into the HTML area.

Save the page (or wherever you're adding the code snippet), and your quiz will appear.

Video walkthrough of embedding a quiz with a code snippet

If you have any questions or issues, just reach out to our team!

Did this answer your question?