Show or embed a quiz

Embed a quiz on your website with one line of code, or let CROforce show it as a popup. On the quiz's Share tab, either let CROforce show the quiz for you — by audience, pages, trigger and frequency — or get an embed code and paste it where the quiz should appear.

On this page1. Choose how you add the quiz2. Choose who sees it3. Choose how and when it shows4. Save your settingsEmbed the quiz with codeNext steps

Updated November 28, 2026

Open the quiz from Tests › Quiz Builder and click the Share tab. The left side holds the settings; the right side previews the quiz on your own page, on desktop or mobile.

The Share tab with How you add this quiz set to Embed it yourself, an Embed code card with Get Code, and rows for Audience, Devices, Display, Schedule and Goals

Each row shows its current setting. Click it to change it.

1. Choose how you add the quiz

Under How you add this quiz:

Option

What happens

Settings you get

Show it with Entail

CROforce places the quiz for you, using the audience, pages and trigger you set.

Audience, Pages, Devices, Display, Trigger, Frequency, Schedule

Embed it yourself

You get a code to paste on your website. The quiz shows exactly where you put it.

Audience, Devices, Display, Schedule

Switching a live quiz to embed asks you to confirm (Use Embed Code Instead?): CROforce stops showing it on your pages. Your pages and trigger settings are kept if you switch back.

2. Choose who sees it

Audience

All Visitors, New Visitors (first visit to your site) or Returning Visitors (visited before).

Pages

  • All Pages.
  • Specific Pages — search your pages or paste addresses. Use a path like /sale for that page on your site, or a full link. Up to 50.
  • A Page List — one of your saved page lists. Manage Page Lists opens them.

You can also set a Preview page for the preview on the right. Leave it empty to use the first page above, or your homepage.

Devices

All Devices, Mobile Only or Desktop Only.

3. Choose how and when it shows

Display

Pick a Display style, then its Settings:

Style

Settings

Full screen

Close button color.

Popup

Size S (480 × 400 px), M (640 × 480 px), L (800 × 560 px) or Custom; Width and Height (100–2,000 px); Padding; Corner radius (up to 100 px); Overlay on or off, with an Overlay color; Close button color. You can also drag the popup's corners in the preview to resize it.

Inline

Placement — click Select on Page, hover over the preview and click the element to put the quiz above or below. Then Alignment, Width (Auto, Full width or fixed), Height (Auto or fixed), Padding (up to 200 px) and Corner radius.

Trigger

What makes a popup or full-screen quiz appear. An inline quiz is part of the page, so it has no trigger.

Trigger

Shows the quiz

Page Load

When the page loads. Turn on Delay to wait 1–600 seconds first.

Button Click

When a shopper clicks a button CROforce adds to your page. Pick its Placement with Select on Page, set the Button text (up to 40 characters, "Take the Quiz" by default) and its Button design, which starts from your quiz's primary button.

Scroll Depth

After the shopper scrolls a percentage of the page (1–100%).

Exit Intent

When the shopper looks about to leave the page.

Custom JavaScript

When your own code says so. Click Edit Code; the quiz shows when the code's promise resolves. Up to 10,000 characters.

JavaScript
return new Promise(resolve => {
  // call resolve() when you want to trigger the experience
  setTimeout(resolve, 5000)
})

Frequency

How often one visitor sees the quiz: Every Visit, Only Once, Once a Day or Once a Week.

Schedule

Set a Start and an End date and time, in your own time zone. Leave Start empty to start as soon as you publish, and End empty to keep showing it. A published quiz waits for its start date; after its end date it stops showing and moves to Completed within 15 minutes.

Goals

Shown when the quiz has a Products ending. Choose which goals count as a conversion in the quiz report: All goals, or the ones you pick. If your website has no goals yet, click Add a Goal.

4. Save your settings

Click Save Settings at the bottom. For a live quiz, the change shows on your website as soon as you save. Errors appear beside the setting to fix, such as a missing placement or an end date before the start date.

Embed the quiz with code

  1. Under How you add this quiz, choose Embed it yourself. The switch saves at once.
  2. Click Get Code. In Embed Your Quiz, choose your platform: WordPress, Shopify, Webflow or Any other website. The hint below tells you where to paste.
  3. Click Copy Code and paste it where the quiz should appear.
  4. Publish the quiz. Until then the code shows nothing.
The Embed Your Quiz dialog with the platform set to Any other website, a notice that the quiz isn't live yet, the embed code and a Copy Code button

Copy the code once — saved changes update it everywhere.

The code is a single empty <div> with your quiz's ID; the CROforce script on the page fills it in.

HTML
<div data-entail-quiz="YOUR_QUIZ_ID"></div>

Platform

Where to paste it

WordPress

Add a Custom HTML block where you want the quiz.

Shopify

In your theme editor, add a Custom Liquid section where you want the quiz.

Webflow

Add an Embed element where you want the quiz.

Any other website

Into the page's HTML where you want the quiz.

With an embedded Inline quiz, the quiz itself shows where you pasted the code. With Popup or Full screen, the code places a button instead — set its Button text under Display — and clicking it opens the quiz.

Page without the CROforce script? The code needs the tracking script on the page. If your site doesn't have it yet, the dialog shows it as step 1, Add Entail to your website. For a single page without it, click Show Script and paste it inside that page's <head>.

Developers: see Embed quizzes and widgets in HTML.

Next steps

Frequently asked questions

Why doesn't my embedded quiz appear?

The quiz has to be published, and the page needs the CROforce script. The Embed Your Quiz dialog says so when the quiz isn't live yet, and Show Script gives you the script for pages that don't have it.

Do I need to update the embed code when I change the quiz?

No. Copy it once — saved and published changes show everywhere you pasted it.

Can I show a quiz on more than 50 pages?

Yes. Specific Pages takes up to 50 addresses; for more, group them in a page list and choose A Page List.

Can I use embed on Wix?

The embed code isn't offered for Wix, because Wix's embed element runs in a sealed frame the script can't reach. Let CROforce show the quiz for you instead.

Was this article helpful?

Try it on your own site

Add a popup, form or quiz to your site in a few minutes and see what it does for your conversions.