1. Home
  2. Knowledge Base
  3. Quizzes
  4. Embedding a Digioh Quiz On a Shopify Site
  1. Home
  2. Knowledge Base
  3. Design Editor
  4. Embedding a Digioh Quiz On a Shopify Site

Embedding a Digioh Quiz On a Shopify Site

Login to Shopify. At the top search for and select “Online Store”.

image68

In the Online Store nav and choose “Themes”.

Where it says “Current Theme”, click on the “…” icon and then click on “Edit Code

image9

Now, we are going to create New Template. Click on “Templates” and “Add a New Template

image99

 

For Template Type, Select Page, select the Liquid radio button, and name the file “Digioh Quiz” and hit Done.

image93

Now enter in {% raw %}{{ page.content }}{% endraw %} and hit Save.

image115

Now we’re setup to create the page your quiz will live on.

Go back to the Online Store navigation and choose Pages.

image27

Click on “Add Page” button in the top right corner.

image96

You can add a title like “Quiz” or “Find the Perfect Tea”.

On the right side we will need to pick a Theme Template.

image91

 

Now, we are going to embed the Digioh Quiz to your Shopify page. Go to your Digioh Quiz, Go into the Campaign Editor, Click on Settings > Campaign Settings, Select “Universal Smart Tag” for the Position Using Section, and Copy the Universal Smart Tag.

We recommend uploading a loading spinner that is on brand in the “Smart Tag Placeholder Image”. You will want to upload your Smart Tag Placeholder image before copying the Universal Smart Tag.

Screenshot of Campaign Settings showing Universal Smart Tag selected under Campaign Position with the smart tag HTML displayed.

Now, on your Shopify “Quiz” page click on the “<>” icon and select “Edit HTML” and paste in the Digioh Universal Smart Tag that you copied in the previous step.

Screenshot of a Shopify page editor with the Universal Smart Tag HTML pasted into the content in code view.

Hit Save and Load your Shopify Page.

 

In your Digioh Dashboard, open the Display Rules options for your quiz:

Screenshot of the campaign list showing the Display Rules “+ Add” button highlighted.

To configure the display rules for your quiz, select “Add

Then choose “Add Display Rules

Screenshot of the Display Rules modal with the “Add Display Rules” button highlighted.

 

From the options, select “Current Page URL” and enter the URL of the page where you want the quiz to appear. Click on Save to save the changes.

Screenshot of the Display Rules modal showing a Current Page URL rule set to “Contains” with a specific page URL.

 

After configuring this setting, return to the editor, hover over the “Save and Publish” button, and click on “Save & Publish to Your Site” to publish the quiz on your website.
Save and publish

 

If your Digioh Campaign is enabled and you’ve successfully published the changes in Digioh

The quiz should now be visible on your website!

Now you need a page for the quiz results.

Digioh offers two types of Results Pages:

  1. Digioh Result Pages (recommended) – these are automated result pages
  2. Shopify Result Pages (advanced) – these are custom built pages inside a Shopify Liquid Theme

 

Updated on February 26, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support