Quiz Popup
Connect Quiz Popup with Webflow to embed branching quiz popups that collect visitor data, capture emails, and route product recommendations on your site.
How to integrate Quiz Popup with Webflow
Quiz Popup connects to Webflow through two methods: the Quiz Popup app from the Webflow Apps Marketplace for a no-code setup managed entirely through the Smartarget dashboard, and custom code embedding for direct control over where and how the widget script loads on your site.
Install the Quiz Popup app
Install Quiz Popup from the Webflow Apps Marketplace. The app connects your Webflow site to the Smartarget dashboard, where all quiz configuration happens.
To set up the integration:
- Install the Quiz Popup app from the marketplace listing
- Open the Smartarget dashboard to configure your quiz: add questions with photos, text, date pickers, and number ranges, set which fields are required or optional, and define the number of steps
- Customize colors, fonts, and button styles to match your site's branding
- Choose when the quiz appears: automatically on page visit, after a time delay, or through a floating button
- Use Smartarget's built-in reporting to track quiz starts, completions, email captures, and discount code usage
All quiz configuration lives in the Smartarget dashboard, not inside Webflow. Changes you make in the dashboard apply to your published site without needing to republish in Webflow.
Smartarget's free plan limits the widget to your homepage and displays a "Powered by Smartarget" watermark. After a 14-day trial period where the widget appears on all pages, the free plan restricts display to the homepage only. The paid plan removes both restrictions and supports all pages with unlimited traffic.
Embed Quiz Popup with custom code
Use this method when you want direct control over where the quiz script loads, or when you need the widget on specific pages rather than site-wide.
In the Smartarget Quiz Popup setup, copy the generated JavaScript snippet for your quiz. Where you paste it in Webflow depends on the scope you need:
- For a site-wide quiz popup, go to Site settings → Custom Code and paste the script into the Footer Code section so it loads on every page before the closing
</body>tag. This follows Webflow's custom code in the head and body guidance. - For a page-specific quiz, open that page's Page Settings → Custom Code and paste the script there.
- For inline placement within a specific section, add a Code Embed element to the canvas and paste the script inside. This positions the quiz relative to that section rather than as a global overlay.
Webflow supports custom code in preview mode, but third-party scripts that enforce domain validation may not load correctly on Webflow's preview domain. Test on your published site to confirm the widget renders as expected. Each Code Embed element and each custom code section supports up to 50,000 characters. For very large scripts, use the site-level footer code rather than multiple separate embeds.
If you use asynchronous JavaScript loading, wrap the Quiz Popup script in a DOMContentLoaded handler so the page content exists before the quiz runs.
Webflow does not provide support for debugging third-party scripts. Smartarget's own documentation and support team are your resource for Quiz Popup issues.
What you can build with the Quiz Popup Webflow integration
Quiz Popup adds branching, multi-step quiz flows to your Webflow site without building custom form logic. The widget handles conditional question paths, result screens, email capture, and discount code delivery, so the implementation work is in configuration rather than code.
Here are a few things you can build:
- Product recommendation quiz: Configure a branching question flow that maps visitor answers to specific products. A beauty brand, for example, can use photo-based questions about skin type and concerns, then display a matched product on the result screen with a link to its product page.
- Lead qualification funnel: Add a multi-step quiz popup to a B2B service page that collects budget range, team size, and project needs using multiple choice and number range questions. Segment the results by score or answer pattern to prioritize follow-up.
- Email list growth with gated results: Set the quiz to display automatically on page load, then require an email input before showing the final result screen. A coaching site could run a "What's Your Leadership Style?" quiz that captures the email and delivers a discount code to new subscribers.
- Timed recommendation popup on product pages: Configure the display trigger to show a short quiz after visitors spend time on a product page. A two-to-three-question flow captures their preferences and routes them to a recommended product based on their answers.
These builds all work through the Smartarget dashboard configuration — no custom code beyond the initial installation. For more complex patterns, such as writing quiz responses to Webflow CMS collections, a developer would need to add custom JavaScript that captures responses client-side and sends them to a server-side endpoint, which could then write to the Webflow API. Smartarget does not expose quiz response data through an API or webhooks, so this path requires a custom implementation.
Frequently asked questions
Paste the Smartarget JavaScript snippet in the Footer Code section under Site settings → Custom Code. Webflow's guidance recommends placing
<script>tags before the closing<body>tag so HTML content loads before the popup script runs. For page-specific quizzes, use the Custom Code section in individual Page Settings instead. If you need the quiz inline within a specific section, use a Code Embed element on that page.Yes. The widget works on both desktop and mobile. You can choose between automatic display on page visit and activation through a floating button, depending on what works best for your mobile layout. Trigger settings and mobile behavior are configured in the Smartarget dashboard.
Not directly. Smartarget does not provide webhooks, a public API, or integrations with automation platforms like Zapier or Make. To route quiz data externally, a developer would need to write custom JavaScript that detects quiz completion in the DOM and forwards the data to a server-side endpoint. From there, a serverless function could call the Webflow CMS API to create collection items or send data to a CRM. This is a custom, unsupported technique — Smartarget does not document or support DOM event hooks for this purpose.
The app-based method works on any Webflow site plan that supports marketplace apps. The custom code method requires access to Webflow's custom code injection: paste scripts in Site settings → Custom Code for site-wide placement, or use a Code Embed element for page-specific placement. If you're unsure which custom code option fits your setup, Webflow's custom code documentation covers the available options by plan tier.
Description
Quiz Popup is a Smartarget widget that adds multi-step, branching quiz popups to websites. Quizzes can include photo-based questions, text fields, date pickers, and number ranges, with configurable required and optional fields. The widget displays automatically on page load, after a time delay, or through a floating button, and works on desktop and mobile. Visitors answer questions, optionally submit their email, and receive personalized product recommendations or discount codes.
This integration page is provided for informational and convenience purposes only.

LiveChat
Use LiveChat to talk to your customers in real-time.

Livechat
Connect LiveChat with Webflow to provide real-time customer support, engage visitors instantly, and manage conversations across multiple channels.

Joonbot
Connect Joonbot with Webflow to capture leads through conversational chatbots and qualify visitors automatically.

Intercom Acquire
Connect your Webflow site with Intercom's live chat and customer engagement tools to capture leads, provide instant support, and convert more visitors into customers—all without leaving your Webflow dashboard.

Ideta
Integrate Ideta's AI-powered chatbots and automation tools with your Webflow site to automate customer support, capture leads, and schedule appointments without writing code.

Hyvor Talk
Add privacy-focused commenting, reactions, and community features to your Webflow site with Hyvor Talk's flexible integration options. Enable real-time discussions, membership systems, and moderated conversations without sacrificing user privacy or design consistency.

Drift
Connect Drift's conversational marketing platform with Webflow to capture leads, qualify visitors, and book meetings directly from your website. Add live chat, AI-powered bots, and intelligent routing without complex coding.

Disqus
Connect Disqus with Webflow to add robust commenting to your site, enabling threaded discussions, social logins, and streamlined moderation for active community engagement.

Crisp
Connect Crisp (AI-powered live chat and omnichannel messaging) with Webflow to enable real-time conversations, automate support with intelligent chatbots, and manage every customer interaction from a single, unified inbox


