How to Embed a Quiz on a Page: Systeme.io, GoHighLevel, WordPress, Step by Step

Your quiz shows right inside your page or blog post instead of behind a link: copy the embed code from the Share tab and paste it into an HTML code block. The written walkthrough of the video tutorial, with the pitfalls.

| | 7 min read

Embed a quiz on Systeme.io, GoHighLevel or WordPressNothing is sent to YouTube until you click.See this video tutorial's page

In short

In your quiz editor, Share tab, you copy the Embed code, then paste it into an HTML code block on your page: Systeme.io, GoHighLevel, WordPress, or any tool that accepts HTML. The quiz shows inside the page, its height follows each screen, and your visitors answer without leaving your site.

The same code works for a quiz and for a survey. One condition: it has to be Live.

In this article

A link is one more click. In a blog post or on a sales page, every click you ask for is a chance to leave before the first question.

An embedded quiz is already there: people read your page, see the first question and answer. They stay on your address, in your layout, in the middle of your content.

There's nothing to code. Tiquiz hands you the code ready to use, and your job comes down to a copy and paste in the right place. This article follows the video tutorial step by step, with what the code does and what can go wrong.

What you need before you start

  • A quiz or a survey that is Live. At the top of the editor, the switch reads Draft or Live. In draft, nobody can answer it, on your page or through the link.
  • A link you're happy with. In the Share tab, under Custom link, you choose the end of the address, and your domain if you connected one (the walkthrough is in the custom domain article). The embed code contains that address: set it first, copy the code after.
  • A page that accepts HTML code, and access to its editor: a Systeme.io page or blog post, a GoHighLevel page, a WordPress page or post.

Step 1: copy the embed code from Tiquiz

  1. Open your quiz, then the Share tab.
  2. In the Custom link card, below your quiz link, find the Embed code area.
  3. Click Copy. The button reads Copied: the whole code is on your clipboard.

For a survey, it's the same Share tab: the code sits below the link, with its Copy button.

What the code contains, and what it does

The code comes in two parts, and you paste both together, as one block:

  • An iframe: the frame that displays your quiz inside your page. It takes the full width of the spot you put it in, up to 640 pixels, and centers itself.
  • A small script: a few lines that let your page and the quiz talk to each other.

That conversation handles three things for you:

  • The height follows the content. The frame grows or shrinks with each screen (intro, question, form, result). No double scrollbar, no large gap under a short question.
  • The page comes back to the top of the quiz. When someone moves to the next screen and the top of the quiz is out of view, the page brings it back, right below your menu if it stays stuck to the top of the screen. On load, nothing moves: your page is never scrolled before the person has touched the quiz.
  • Each code looks after its own quiz. The script only listens to the frame it comes with: two different quizzes pasted on the same page don't get in each other's way.

On the stats side, nothing changes: someone who answers on your page counts as one visit, just like through the direct link. Their answers, their result and their contact details land in the same place in Tiquiz, with the same tags and the same follow-up emails.

Step 2: paste the code into your page

The idea is the same everywhere: add an HTML code block where the quiz should appear, paste the whole code into it, save. Only the name of the block changes from one tool to the next.

In Systeme.io

In the editor of a page or a blog post, add the HTML code block (it's called Raw HTML) where you want the quiz, paste the code, then save.

In GoHighLevel

In the page builder, add the custom code element, named Custom JS/HTML (or Custom Code, depending on the builder version), paste the code, then save.

In WordPress

In the block editor, add a Custom HTML block, paste the code, then update the page. If you use a page builder, look for its HTML code module: the move is the same.

In another tool

Any tool that accepts an HTML code block will do. If yours has none, keep the link: a button that leads to your quiz does the job, and the Share tab also gives you a QR code.

Step 3: check the published page

A page editor's preview doesn't always run the code. The real test happens on the published page, opened the way a visitor would:

  1. The quiz shows, at the right width.
  2. You answer a question: the frame changes height with the screen.
  3. You go all the way to the result: the page brings you back to the top of the quiz, and its title isn't hidden under your menu.
  4. You run through it again on your phone.

The button on your result page opens in a new tab: people reach your offer without being stuck inside the frame.

Pitfalls to avoid

  • Pasting the link instead of the code. The quiz link stays a link to click. To show the quiz inside the page, you need the Embed code, and it goes into an HTML code block, not a text block.
  • An editor that strips the script. Some tools, or some security settings, remove script tags when you save. The quiz stays visible and people can answer it, but the frame keeps its starting height (640 pixels): a longer screen scrolls inside the frame, and the page no longer comes back up on its own. First check that the code is in your tool's HTML code block, and complete.
  • A quiz still in draft. The code can be copied even in draft, and Tiquiz warns you below the link: "This link only works once the quiz is live." Flip the switch to Live, at the top of the editor, before you publish your page.
  • A column that's too narrow. The quiz takes the width of the spot you paste it in. In a sidebar or a multi-column layout it gets narrow, and the answers are hard to read. Give it a section that spans the full content width: beyond 640 pixels, it keeps that width and centers itself.
  • Changing the link after pasting the code. The code contains the quiz address. If you later change the link or the domain, the code shown in the Share tab changes too: copy it again and replace the old one on your page.
  • Pasting only half of the code. The iframe alone displays the quiz, without the height adjustment. Always use the Copy button instead of selecting with the mouse.

Create my free account

FAQ: embedding a quiz on a page

Where do I find my quiz's embed code?

In the quiz editor, Share tab, below the link: the Embed code area, with its Copy button. For a survey, the code is in the same place, in its Share tab.

Does the embed code work for a survey too?

Yes. It's the same code for a quiz and for a survey: an iframe, and the script that sets the height. A Popquiz (the quiz placed on a video) has its own embed code, in its editor.

Do I need a paid plan to embed a quiz on my site?

No. The embed code is in the Share tab of every quiz, free plan included. The free plan includes 1 quiz, 1 survey and 1 Popquiz; each plan's limits are on the pricing page.

My embedded quiz is cut off, or has its own scrollbar: what should I do?

That's the sign the script didn't make it to your page: the frame stays at its starting height. Check that you pasted the whole code (the iframe and the script) into an HTML code block, then reload the published page. If your tool strips scripts, the quiz still works inside its frame; you can also add a button that leads to the quiz link.

I pasted my code a long time ago: do I have to replace it?

You don't have to: a code that's already pasted keeps working. Coming back to the top of the quiz on each new screen, below a sticky menu, is part of the current code: to get it, copy the code again from the Share tab and replace the old one.

Share this article

Your take on this article

If something here rubs you the wrong way, or if something is missing, say so: that is how these articles get better.

Leave a comment

Your email is only used to reply to you. It appears nowhere and goes on no mailing list.