
Inline and popup embeds are not two layouts, they are two different offers. A side-by-side table of what each mode trades, the actual RooQuiz snippets and the one attribute that separates them, four mobile rules, the multiplication to run before you argue about it, and a two-week checklist for a new embed.
Inline and popup are not two layouts. They are two offers
Most teams pick an embed mode by looking at a screenshot. Inline looks tidier, so inline wins; or the popup looks more "conversion-y", so popup wins. Then the quiz underperforms and everybody blames the questions.
Embed mode is not a styling decision. It decides who is asked, when they are asked, and what they were doing at the moment you asked. Inline says: this page is the quiz. Popup says: this page is something else, and the quiz is an interruption with a better offer than whatever you were reading.
Both are correct. They are correct on different pages. If you put an inline quiz halfway down a 2,000-word article, almost nobody scrolls to it. If you put a popup on a dedicated quiz landing page, you have built a page whose only job is to launch a modal — a click you charged the visitor for nothing.
What each mode actually trades
The directions below are structural and hold regardless of your traffic. The magnitudes are yours to measure.
| Dimension | Inline embed | Popup embed | Iframe |
|---|---|---|---|
| Who sees it | Only people who scroll to it | Everyone who fires the trigger | Only people who scroll to it |
| Trigger | The visitor's own scroll | Button click, timer, exit intent, scroll depth | Scroll |
| Start rate | Lower on long pages, high on landing pages | Higher — the quiz comes to them | Same as inline |
| Intent of starters | Higher: they chose to arrive | Mixed: some were interrupted | Higher |
| Mobile behavior | Shares the page's scroll | Takes over the full screen | Fixed-height box, inner scroll |
| Height handling | Grows with question length | Modal manages its own height | Fixed — you pick the pixels |
| Analytics clarity | Page views ≈ impressions | Trigger fires must be logged separately | Cross-origin; page-level events need care |
| Typical failure | Nobody scrolls that far | Dismissed in under a second | Scrollbar inside a scrollbar on phones |
| Best on | Quiz landing pages, use-case pages, pricing pages | Blog posts, docs, homepages, cart pages | Sites where you cannot add a script tag |
The row that settles most arguments is the last one. Inline belongs on pages where the quiz is the point. Popup belongs on pages that already have a point, where the quiz is a second, more valuable thing to do.
The snippets, and the three things that matter
RooQuiz gives you three ready-to-paste snippets per quiz. Inline and popup share one script; the difference between them is a single attribute.
Inline — the quiz renders in place, in the flow of the page:
<div data-rooquiz-embed data-rooquiz-token="YOUR_TOKEN"></div>
<script src="https://quizster.app/embed.js" async></script>
Popup — the same script renders a button, and the quiz opens in a modal:
<div data-rooquiz-embed data-rooquiz-token="YOUR_TOKEN" data-rooquiz-mode="popup"></div>
<script src="https://quizster.app/embed.js" async></script>
Three things to know before you paste either one:
data-rooquiz-tokenis the quiz's public token, the same string that appears in its share link. One token per quiz, so a page can host more than one embed as long as eachdivcarries its own.data-rooquiz-modeis the whole difference. Leave it off for inline, set it topopupfor a modal. Switching modes later is a one-word edit, not a rebuild — which is why "we'll test both" is a real plan here and not a quarter of work.- The script forwards the host page's
utm_*parameters into the submission, so a lead that arrived on your blog post from a paid campaign keeps its source without you wiring anything up. If you would rather have a snippet hard-tagged to one channel, tag it when you generate the embed code instead of hand-editing the URL afterwards.
The third snippet is a plain iframe, for sites where you cannot inject a script — some hosted CMSes, some email-tool landing pages, most corporate intranets:
<iframe src="https://quizster.app/a/YOUR_TOKEN?embed=1" width="100%" height="600" style="border:0;" title="RooQuiz"></iframe>
That height="600" is a fixed number you are promising will always be enough. It often is not. A question with eight long options on a 390px-wide phone will overflow it, and the visitor gets a scrollbar inside a scrollbar — one of the most reliable ways to lose someone mid-quiz. Use the iframe when you have no choice, and when you do, pick the height by loading your longest question on a phone and measuring it, not by keeping the default.
Mobile is where the choice stops being theoretical
On desktop, inline and popup feel like minor variations. On a phone they are different experiences — and if your traffic looks like most web traffic, phones are the majority of it. Check yours before you decide this section does not apply.
A popup on mobile is a full-screen takeover. That is an advantage — no distractions, no competing layout, the quiz gets the whole viewport. It is also a liability: a takeover that arrives uninvited reads as an ad, and the dismissal is instant and permanent.
An inline embed shares the page's scroll instead. It never feels like an ambush, but it competes with everything above and below it.
Four rules that survive contact with real sites:
- Never put an inline embed in a narrow sidebar. Sidebars collapse to full width on phones and sit below the fold on desktop. You get the worst of both: cramped on mobile, invisible on desktop.
- Give an inline embed its own breathing room — a heading above it saying what the quiz gives you, and nothing competing beside it. The embed is not an illustration.
- Trigger popups on intent, not on arrival. A modal that fires at two seconds hits people who have not finished reading your headline. A modal tied to scroll depth or exit intent hits people who already demonstrated interest.
- One popup per page, ever. If a newsletter modal and a quiz modal can both fire on the same page, you do not have a conversion strategy, you have a race condition.
Do the multiplication before you argue about it
Embed mode looks like a taste debate until you turn it into arithmetic. Run this with your own numbers before you build anything.
Take 1,000 visitors to one page. Write down four rates: the share who see the quiz, the share who start it, the share who finish it, and the share who submit contact details. Multiply.
Here is the comparison worked as an example. These are illustrative numbers, not benchmarks — the only thing worth copying is the shape of the calculation.
Say the page is a blog post. Inline, placed two-thirds down: 35% scroll far enough to see it, 12% of those start, 65% of starters finish, 45% of finishers submit. That is 1,000 × 0.35 × 0.12 × 0.65 × 0.45 ≈ 12 leads.
Same post, popup on exit intent: 60% of visitors fire the trigger, 9% of those start, 60% finish, 45% submit. That is 1,000 × 0.60 × 0.09 × 0.60 × 0.45 ≈ 15 leads — more, despite a lower start rate and a lower completion rate, purely because far more people saw the offer at all.
Now run the same two configurations on a dedicated quiz landing page, where nearly every visitor sees an inline embed and start rates are several times higher, and inline wins so decisively the comparison stops being interesting. That is the point: the mode does not have a winner, the page does.
Two notes on honest math. First, visibility and start rate are separate numbers and must stay separate — collapsing them is how teams conclude "popups convert better" from data that only says "popups get seen more". Second, if you do not know your own rates yet, the fix is a fortnight of measurement, not a stronger opinion. Our write-up on funnel conversion benchmarks covers which ratios are worth watching and when a number is low enough to investigate.
What to check in the first two weeks
A new embed deserves a short, boring review before you start tuning anything:
- Load the page on a real phone, not a resized browser window. Check that the quiz is reachable without pinch-zoom and that no question overflows.
- Confirm the trigger. For popups, fire it deliberately five times and count five opens. For inline, scroll a cold session and note where the embed lands relative to the fold.
- Verify a submission end to end: take the quiz yourself, submit it, and confirm the lead arrives with its source attached.
- Separate "saw it" from "started it" in your analytics. If you cannot tell those apart, every later conclusion is guesswork.
- Re-read your first question. Both modes amplify whatever the opening question does — a weak one just fails faster inside a modal.
- Check where your email gate sits. Embed mode and gate position interact: a popup with a front gate is two interruptions stacked on each other, which is usually one too many. Where to put the email gate works through that trade in detail.
Then change one thing at a time. Mode is a one-attribute edit, which makes it tempting to flip it alongside new copy and a new first question in the same afternoon. Do that and you will learn nothing, twice.
Photo by engin akyurt on Unsplash