- Blog
- How to Add a Waitlist to Wix (Embed HTML + Custom Code)
article
How to Add a Waitlist to Wix (Embed HTML + Custom Code)
Add a waitlist to your Wix site with an Embed HTML element, or load the script site-wide with Custom Code — plus the iframe sizing fix and plan limits.
Wix ships a form element, but it sends submissions to an inbox — not to a waitlist with referral links, queue positions, and broadcasts. GetWaitly's widget gives you those with two lines of code, and Wix has a clean place to paste them: the Embed HTML element.
There is one Wix-specific thing to know before you start. The HTML element is itself an iframe. That means your code runs normally (unlike platforms that sandbox third-party scripts), but the element will not resize itself — you set its width and height, and content taller than the frame shows a scrollbar. Size it once and you are done.
Here is how to add a waitlist to Wix — a Wix waitlist in about five minutes — plus the site-wide option and the fallback if the widget ever stops rendering.
The short answer
Add an Embed HTML element where you want the form, paste your GetWaitly snippet, then drag the element to roughly 400px tall and full width. For the form on every page, load the script once through Settings → Custom Code instead (requires a connected domain). Publish, then submit a test email on the live site.
What you need
- A Wix site in the Wix Editor, Wix Studio, or Wix Harmony.
- A GetWaitly account with a waitlist created (the free plan covers 100 subscribers).
- Your waitlist's public ID or slug from the Embed/Widget section.
- A paid Wix plan only if you want the site-wide Custom Code route. The Embed HTML element works on any plan.
Step 1 — Get your embed code
In GetWaitly, open the waitlist and copy two things from Widget:
Script tag:
<script src="https://getwaitly.com/widget.js" defer></script>
Container div:
<div class="gw-widget" data-waitlist-id="YOUR_WAITLIST_ID"></div>
Wix only displays HTTPS code, and both lines are HTTPS, so nothing needs changing. Just do not switch either URL to http.
Step 2 — Add an Embed HTML element
- Open your site in the editor and go to the page and spot where the form belongs.
- Click Add Elements on the left.
- Click Embed Code, then Popular Embeds.
- Choose Embed HTML and click it to drop it on the page.
- Click the element, then Enter Code.
- Paste both lines into the box:
<div class="gw-widget" data-waitlist-id="YOUR_WAITLIST_ID"></div>
<script src="https://getwaitly.com/widget.js" defer></script>
- Click Apply.
On Wix Studio, the path is the Add menu → Embed → Embed code element. On Wix Harmony, use + Add → Elements → More Options → Embed, drag the Embed code element onto the page, then open Settings and paste under Enter HTML embed code.
Step 3 — Size the element (the Wix gotcha)
This is the step people skip, and the reason a working embed "disappears."
Because the element is an iframe, it starts at whatever size Wix gave it. If the form is taller than the frame, you get a scrollbar inside the element — and on mobile it can look cut off.
- Drag the element's handles so it is full width of the column.
- Set the height to about 400px. A single-field form usually renders well in 320–420px.
- Check mobile preview: if the form is clipped, add a mobile-only element (see the gotchas below) sized taller.
The widget itself is responsive inside the frame — it adapts to the iframe's width, not the page's.
Step 4 — Site-wide script with Custom Code (optional)
If you want the form in several places, or a popup trigger on every page, load the script once instead of pasting it into each embed.
- Go to your site dashboard → Settings.
- Click Custom Code under Development & integrations.
- Click + Add Custom Code.
- Paste the script tag only (not the div):
<script src="https://getwaitly.com/widget.js" defer></script>
- Name it
GetWaitly, choose All pages, and set Place Code in to Body – end. - Click Apply, then Publish.
Now each Embed HTML element only needs the container div, and any element with class="gw-trigger" opens the form as a popup.
Plan note: Wix only exposes Custom Code on a published site with a connected domain, and connecting your own domain requires a Premium or Studio plan. If Custom Code is missing from Settings, that is why — use Step 2 instead, which needs no plan upgrade.
Step 5 — Publish and test
Click Publish in the top right. Custom Code changes do not go live until you republish, even if the editor already looks right.
Then open the live site (not the editor preview), submit a test email, and confirm the success message appears and the subscriber shows up in your GetWaitly dashboard.
Wix-specific gotchas
- The element is an iframe, so it does not auto-resize. Set height manually, around 400px, and check mobile. This is the single most common "the form is broken" cause.
- Custom Code needs a published site plus a connected domain. A free
wixsite.comaddress cannot use it. The Embed HTML element works regardless. - You must republish after Custom Code changes. Saving the dashboard entry is not enough.
- Mobile elements are separate. Anything you add from the mobile editor appears on mobile only. The reverse is not true — desktop embeds do show on mobile, but can be clipped, so size them generously.
- Wix tightened frontend security for third-party code in December 2025. Snippets that used to load can be blocked until updated. If the widget goes blank after a Wix update, the plain form action below still works.
- Tracking pixels are a different system. Google Analytics, Tag Manager, and Meta pixels do not work through Custom Code on Wix; they go through Wix's marketing integrations. The widget is not a pixel and is unaffected.
Alternative: embed the hosted page
If you would rather not touch scripts at all, use Embed a site instead of Embed HTML in Step 2, and paste your waitlist's published URL. Wix shows that page in a window on your site. You lose the inline styling, but signups land in the same dashboard.
You can also skip JavaScript entirely — post a plain form to the join endpoint:
<form action="https://getwaitly.com/api/join/YOUR_WAITLIST_ID" method="post">
<input type="email" name="email" required placeholder="Your email" />
<button type="submit">Join the waitlist</button>
</form>
FAQ
How do I add a waitlist to my Wix website?
Add an Embed HTML element (Add Elements → Embed Code → Embed HTML), paste the GetWaitly script and container div, size the element to about 400px tall, and publish. It takes about five minutes and needs no paid Wix plan.
Does GetWaitly work on Wix?
Yes. Wix's HTML element renders your code in an iframe, which runs the widget normally. The only requirement is HTTPS — which the snippet already uses — and a sensible element height.
Why is my Wix waitlist form not showing?
In order of likelihood: the element is too short so the form is behind a scrollbar; you are looking at the editor preview instead of the published site; or, if you used Custom Code, you did not republish. Check all three before changing the code.
Can I add the waitlist to every Wix page?
Yes. Add the script once via Settings → Custom Code on all pages, then put only the container div in an Embed HTML element on each page you want the form. That needs a connected domain, which needs a Premium or Studio plan.
Can I use the free Wix plan?
Yes, through the Embed HTML element. Only the site-wide Custom Code route requires a connected domain and a paid plan.
Will the form match my Wix design?
The widget inherits your accent colour and typography settings from GetWaitly, not from Wix's theme, because it renders inside its own frame. Match the two by setting the same accent colour and font in your GetWaitly branding settings.
Can I make the waitlist a popup on Wix?
Yes, with the Custom Code route: load the script site-wide, then give any button or text element the class gw-trigger. Clicking it opens the form in a modal.
Related guides
- Add a waitlist to any website — the two-line embed and every fallback
- Squarespace Waitlist: Built-In vs Custom — the Code Block equivalent
- How to Add a Waitlist to GoDaddy — when the builder restricts scripts
- Every platform guide — all 30 in one directory

written by
Aymane E.
Founder of GetWaitly. I write about validating ideas, pre-launch, and growth from building a waitlist tool as a solo founder.
Follow on X