# Waitlist Embed & Widget Configurator

> Design and test an inline, pill, modal, or drawer waitlist widget across desktop and mobile. Copy ready-to-use snippets for Next.js, React, Framer, Webflow, Shopify, and HTML.

Canonical: https://waitlyze.com/tools/waitlist-embed-generator
Last updated: 2026-11-22


The Waitlist Embed & Widget Configurator lets you design and test an interactive waitlist signup widget, including its post-signup referral status card, across inline, compact pill, modal, and drawer layouts. Switch between desktop and mobile previews, copy clean snippets for Next.js, React, Framer, Webflow, Shopify, or HTML, and wire them to a live Waitlyze campaign.

## How Waitlyze embeds work across any stack
Waitlyze's /js/embed.js loader mounts a sandboxed, auto-resizing widget inside your container div, forwards ?r= referral codes and UTM tags automatically, and keeps API secrets completely out of browser code.

**Formula / Model:** `<div class='waitlyze-widget' data-key-id='PUBLIC_ID'> + <script src='https://waitlyze.com/js/embed.js' defer>`

- **Zero Secret Keys in Frontend Code**: Embeds use your public waitlist key ID. Secret API keys are only ever needed for custom server-side POST /api/waitlist calls.
- **Automatic Referral & UTM Forwarding**: Reads ?r= and utm_* parameters from the parent page URL and forwards them into the embedded form seamlessly.
- **CSP & Performance Friendly**: Loads deferred/lazyOnload without blocking First Contentful Paint and provides exact script-src and frame-src CSP directives.

## Worked Example: Sample setup: Next.js App Router hero inline pill widget
Compact horizontal email input + lime primary CTA using next/script strategy='lazyOnload' and a crawlable fallback link.
- **Layout mode**: Compact inline pill
- **Script loading**: Deferred / lazyOnload (0 render block)
- **CSP directives**: script-src & frame-src https://waitlyze.com
- **Frameworks**: Next.js, React, Framer, Webflow, Shopify, HTML

## How to Interpret Your Result
- **Inline vs. Modal vs. Drawer**: Use inline or compact pill forms directly inside your hero section for maximum visibility. Reserve modal or slide-over drawers for navigation bar CTAs or documentation pages.
- **Check contrast before pasting**: Ensure at least 4.5:1 contrast between your button label and button accent color, especially when using bright lime or yellow accents.

## Methodology & Privacy
- **Author**: Waitlyze Product Team (Reviewed by Falak Gala)
- **Last updated**: 2026-11-22
- **Privacy**: The sandbox preview runs locally in your browser; test email submissions in the preview are never transmitted or stored.

## Frequently Asked Questions
### Will the Waitlyze embed slow down my landing page?
No. The embed script loads with defer (or Next.js lazyOnload) so your hero headline and CSS paint first, and the iframe resizes cleanly without layout jumps.

### Can I style the embedded form to match my site?
Yes. When you click 'Connect this widget to a live waitlist,' your chosen accent color, border radius, and button copy are prefilled into your Waitlyze draft.

### Does the embed work on Framer, Webflow, and Shopify?
Yes. Select Framer, Webflow, or Shopify in the framework switcher to copy the exact drop-in embed block for that platform.

## Related Links
- [Waitlyze Launch Lab](https://waitlyze.com/tools) - All 14 free pre-launch tools
- [Recommended Template](https://waitlyze.com/templates/simple) - Preview matching waitlist layout
