Waitlist Embed & Widget Configurator
Preview inline, modal, or drawer signup widgets and copy framework-specific Waitlyze embed snippets.
"use client";
import Script from "next/script";
declare global {
interface Window {
WaitlyzeEmbed?: { init?: () => void };
}
}
export function WaitlistEmbed() {
return (
<section aria-label="Waitlist signup">
<div
className="waitlyze-widget"
data-key-id="YOUR_PUBLIC_WAITLIST_ID"
>
<a href="https://waitlyze.com" target="_blank" rel="noopener">
Waitlist powered by Waitlyze
</a>
</div>
<Script
src="https://waitlyze.com/js/embed.js"
strategy="lazyOnload"
onReady={() => window.WaitlyzeEmbed?.init?.()}
/>
</section>
);
}Loads after hydration via next/script strategy='lazyOnload' and re-scans on client navigation via window.WaitlyzeEmbed.init(). Snippet settings control the embed trigger and layout. Form colors, radius, placeholder, and optional Name/Role fields are saved as a private campaign draft reference; publish the campaign separately to apply form settings.
https://waitlyze.com
Allows the deferred /js/embed.js loader.
https://waitlyze.com
Allows the sandboxed waitlist signup and post-signup referral iframe.
Zero blocking JS
Uses defer / lazyOnload and postMessage height resizing with zero secret keys exposed.
Ready to turn this into a live waitlist?
Free to start · No credit card · Draft stays private until you publish
Build and run your waitlist in Waitlyze, free up to 100 signups
Hosted launch page or embed, verified referral links, consent-aware email, and audience analytics. No credit card required.
How Waitlyze embeds work across any stack
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.
- 1
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.
- 2
Automatic Referral & UTM Forwarding
Reads ?r= and utm_* parameters from the parent page URL and forwards them into the embedded form seamlessly.
- 3
CSP & Performance Friendly
Loads deferred/lazyOnload without blocking First Contentful Paint and provides exact script-src and frame-src CSP directives.
Formula & scoring model
<div class='waitlyze-widget' data-key-id='PUBLIC_ID'> + <script src='https://waitlyze.com/js/embed.js' defer>
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.
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
The sandbox preview runs locally in your browser; test email submissions in the preview are never transmitted or stored.
- Author
- Waitlyze Product Team
- Reviewed by
- Falak Gala
- Last materially updated
- Version
- v1.0
Sources & changelog
- Waitlyze /js/embed.js integration contract
- W3C WCAG 2.2 contrast and touch-target guidelines
v1.0: Live pre-signup + post-signup sandbox across 4 layouts and 6 framework snippets.
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.
Continue your launch setup
Guide
Next.js SEO Guide for Pre-Launch Waitlist Pages
An engineering deep dive into Next.js App Router SEO, Core Web Vitals optimization, JSON-LD structured data, dynamic OpenGraph cards, and waitlist integration.
Guide
How to Build a Waitlist for Your Launch
A step-by-step guide to building a waitlist that turns early interest into launch-day customers, from the first headline to the first email you send.
Recommended template
Free Simple Waitlist Landing Page Template
One focused signup screen for any launch.