Your quiz is ready, but as long as it sits in your LeadForms dashboard, it won't bring in leads. You still need to put it on your site: that's five to ten minutes and two blocks of code.
We'll walk through the whole path, from creating the quiz to checking that leads come in.
Step 1. Create the quiz
In your LeadForms dashboard, open the "Quizzes" section and click "Create from scratch." Next to it there are other options: "Create from template," with ready-made flows from the library, "Import quiz," and "AI quiz," if you need a draft for your niche in a minute.
The editor has four tabs: "Settings," "Editor," "Design," and "Publishing." Inside "Editor" there's a step-by-step wizard: start screen → questions → contact form → results → "Thank you" page. A live preview is always visible on the right, and you can switch it between desktop and mobile.
Step 2. Choose the placement format
Open the "Publishing" tab → "On your site." There are two formats, and choosing between them isn't about looks but about where your traffic will come from.
- Button. The quiz opens in a modal window on click. Use it when the page already has its own content and offer, and the quiz is the next step. There are two sub-tabs here: "Builder," where you design the button inside LeadForms, and "Your own button," where the quiz is attached to any button you already have.
- As a block on your site. The quiz is embedded in the page, with no pop-up. Use it for ad landing pages where the quiz is the main content. You can set width, height, corner radius, and margin, and show a button instead of the block on mobile.
Step 3. Copy the code
In both formats the code comes as two blocks, and both are required. This is where people slip up most: they copy one and expect it to work.
- The initialization script goes before the closing
</head>tag. You need only one per page, even if you have several quizzes. - The quiz code itself: the button or block code. Paste it in the page body where the quiz should appear.
If you chose "Your own button," the second block isn't code but a link like #popup:Leadforms_ID that you add to your existing button.
Step 4. Paste the code into your site
From here on it depends on your platform. Ready-made guides with screenshots:
- Tilda: use the "Other/HTML code" block. Note that this block only works on Tilda's paid plans.
- WordPress: in the post editor, switch to "Text" mode.
- Wix
- Bitrix24 sites
- Flexbe
- LPmotor
- Platforma LP
- Taplink
Also: embedding the quiz in the page body and installing via Google Tag Manager, if you don't have access to your site's code.
Step 5. Check that everything works
Check on the published page, not in the site builder: in the platform's preview, the code often doesn't run.
- The quiz opens from the button or shows up inside the block.
- It opens on a phone, not just on desktop.
- The form submits and the lead comes in: go through the whole quiz yourself with a real number.
- The lead arrived where it should: email, messenger, or CRM.
Set up that last point from the start so leads don't pile up in your LeadForms dashboard: for example, send quiz leads to Kommo (formerly amoCRM).
Common embedding mistakes
- Only one code block was pasted. Without the script in the
<head>, the button doesn't work; without the second block, the quiz has nowhere to appear. - The script is duplicated. Even with several quizzes on the page, there's still just one script.
- The test was done in the builder, not on the live page. Publish the page first.
- The quiz ended up below the fold and nobody sees it. If it's the landing page's main tool, it belongs at the top.
- The mobile version wasn't checked. Most traffic usually comes from phones.
FAQ
Which should I choose, button or block?
Block, if the page was built for the quiz and it's the main content. Button, if the page has its own offer and content, and the quiz is the next step.
Can I put several quizzes on one page?
Yes. There's still one initialization script, and each quiz gets its own button or block code.
What if I don't have access to my site's code?
Use the Google Tag Manager installation. Another option is not to embed the quiz at all and send traffic to a separate quiz page.
The quiz is installed but there are no leads. Is it the installation?
First check whether test leads come in. If they do, the installation isn't to blame and the cause is in the quiz itself or the traffic: we cover that in why your quiz gets traffic but few leads.