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.

Install app
View website
View lesson
A record settings
CNAME record settings
Quiz Popup

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:

  1. Install the Quiz Popup app from the marketplace listing
  2. 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
  3. Customize colors, fonts, and button styles to match your site's branding
  4. Choose when the quiz appears: automatically on page visit, after a time delay, or through a floating button
  5. 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:

  1. 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.
  2. For a page-specific quiz, open that page's Page Settings → Custom Code and paste the script there.
  3. 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.

Quiz Popup
Quiz Popup
Joined in

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.

Install app

This integration page is provided for informational and convenience purposes only.


Other Customer engagement integrations

Other Customer engagement integrations

Urgency Deal

Urgency Deal

Connect Urgency Deal with Webflow to encourage visitors to complete purchases before time runs out.

Customer engagement
Learn more
Smartarget Stories

Smartarget Stories

Connect Smartarget Stories, a story-format content widget, with Webflow to display images and videos in a swipeable format for product announcements, promotions, and brand content.

Customer engagement
Learn more
Brandzway Reviews Photos and More

Brandzway Reviews Photos and More

Connect Brandzway with Webflow to collect and display customer reviews with photo submissions on your e-commerce site.

Customer engagement
Learn more
Boosters

Boosters

Connect Boosters with Webflow to add interactive features like GSAP animations, carousels, and improved forms without writing custom JavaScript.

Customer engagement
Learn more
Flowstar Sales Notification

Flowstar Sales Notification

Connect Flowstar Sales Notification with Webflow to display real-time purchase notifications on eCommerce sites.

Customer engagement
Learn more
Chat Everywhere

Chat Everywhere

Connect Chat Everywhere to Webflow to help visitors connect to messaging platforms through a customizable floating button widget.

Customer engagement
Learn more
Chat Whisperer

Chat Whisperer

Connect Chat Whisperer with Webflow to deploy automated chatbot responses using ChatGPT and Claude models.

Customer engagement
Learn more
Flowstar Click to Call

Flowstar Click to Call

Connect Flowstar Click to Call with Webflow to add mobile-optimized phone buttons that convert visitors into callers with a single tap.

Customer engagement
Learn more
Social Intents

Social Intents

Connect Social Intents with Webflow to chat with website visitors directly from Microsoft Teams, Slack, or Google Chat without separate agent software.

Customer engagement
Learn more

Related integrations

No items found.

Get started for free

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Get started — it’s free