Add a waitlist to a Squarespace site with a Code Block

Squarespace can host a waitlist form, but the snippet needs JavaScript or an iframe, and Squarespace only runs those in a Code Block on certain plans. Check your plan before anything else, because a Basic site can't add them at all.

LaunchSuite supplies the form, the signup list and the confirmation email. You paste one snippet into a Code Block on the page where the waitlist belongs, and every signup goes to your project's contacts rather than a Squarespace form inbox.

What gets in the way

The plan decides whether the snippet runs at all
Squarespace's Code Block help says adding JavaScript or an iframe needs the Core, Plus or Advanced plan. A founder on Basic can finish the whole setup, publish, and then wonder why the form never appears.
Squarespace support won't debug your code
Squarespace's help says code-based customization falls outside the scope of its support. If the form breaks after a theme change, you're working out the cause yourself, so the snippet should stay small and unchanged.
Squarespace forms and launch email live in different places
A form block collects responses inside Squarespace, while the emails you send to people who signed up usually go through another tool. Founders end up with a second login and a spreadsheet before the launch week starts.
Site-wide code is the wrong place for one form
A waitlist form belongs on the page where someone is deciding whether to care. Putting it in every footer sends the same signup prompt to visitors who came to read the blog, and it clutters pages that have another job.

Add the LaunchSuite waitlist to a Squarespace page

The snippet needs a plan that runs JavaScript in a Code Block. Check the plan first, then add the block to the single page where the form should appear.

  1. 01

    Check your plan

    Open your account's plan settings and confirm the site is on Core, Plus or Advanced. Squarespace's Code Block help says JavaScript or an iframe needs one of those plans. On Basic, skip the Code Block and use a Button block that links to your hosted page.

  2. 02

    Publish the waitlist and copy the snippet

    In LaunchSuite, open your project, publish the waitlist page and open the Embed tab. Copy the script snippet with your slug in place of your-slug. The form only appears on your site after the project is published.

    <div data-launchsuite-waitlist="your-slug"></div>
    <script src="https://launchsuite.co/embed.js" async></script>
  3. 03

    Open the page and add a Code Block

    Open the page in the Squarespace editor, click where the form should sit, add a block and search for Code. Insert a Code Block on that page only.

  4. 04

    Set the block to HTML mode

    Open the Code Block's settings and set Mode to HTML. In CSS or JavaScript mode the code shows as plain text on the live site, so this setting decides whether the form renders.

  5. 05

    Paste the snippet

    Paste both lines into the block, keeping the div before the script. Don't split them into separate blocks, because the script needs the div to exist when it loads.

  6. 06

    Save, preview and publish

    Save the block and preview the page at desktop and phone widths. Check that the form resizes to the column and that the confirmation message is fully visible. Then publish the page.

  7. 07

    Send a test signup

    Sign up with a test address from the live page, then open Contacts in LaunchSuite. The new row should show the time it was added. If nothing appears, confirm the project is published and the Code Block is in HTML mode.

Squarespace's help says code-based customization falls outside its support scope, so keep the snippet as LaunchSuite publishes it, changing only the slug.

A Code Block affects only the page it sits on. Use it on the page that has the waitlist as its job, not on every page.

On Basic, the button to the mylaunch.site address gives visitors the same signup without any code.

Which Squarespace plan you need

Squarespace's Code Block help page names the Core, Plus and Advanced plans for adding JavaScript or an iframe to a code block. Older guides online still name Business and Commerce plans, so treat any plan list you find elsewhere with suspicion and check your own account before you buy or downgrade.

On a Basic plan, use a link instead of an embed. Add a Button block that opens your hosted waitlist at the mylaunch.site address shown in your project. The visitor sees a button and a form, and you still get the contacts, the confirmation email and the analytics without the code.

Squarespace also only runs JavaScript in a Code Block set to HTML mode. The help page notes that code blocks set to CSS or JavaScript display the code as text. The mode is a setting on the block, and it's the first thing to check if the snippet shows up as words on the page.

Why the script embed suits Squarespace

On a plan that allows JavaScript, use the script version. It loads a small file from LaunchSuite, which sizes the form to fit the block, so you don't have to guess a height in a theme where the column width changes from page to page. It also keeps referral links pointing at your LaunchSuite page, which matters once referrals are on (Pro).

Keep the snippet exactly as LaunchSuite gives it, with only the slug changed. The div is where the form appears, and the script fills it in. If you move the script to another block or split the two lines, the form has nowhere to render.

The iframe is the fallback. If your theme does something unusual with script loading, a fixed-height iframe in an HTML-mode block will still show the form. Set the height yourself, then check it on a phone before you share the link.

How LaunchSuite fits a Squarespace site

Squarespace is good at the site itself: pages, a blog, product pages and the domain. LaunchSuite covers the work you'd otherwise bolt onto it before a launch: a builder for the waitlist page, a contacts list with a queue position for each signup, a confirmation email and the follow-up emails.

The Free plan gives you one project with the page builder, templates, a mylaunch.site subdomain, the contacts list, a confirmation email for every signup, basic analytics and the embed, with LaunchSuite branding. Pro adds custom fields for a qualifying question such as what someone wants to learn, email flows for launch day, referrals with a leaderboard, contact stages and notes, CSV export, and your own domain through a CNAME record to cname.vercel-dns.com.

Email flows run from LaunchSuite's sending address and there's no reply inbox. Put your own booking link or reply-to address in the email body, so people have a way to answer you. That's the step most founders forget when they move from a form tool to a dedicated list.

Example: a ceramics teacher opening a six-week online course

Say you teach ceramics on a Squarespace site on the Core plan, and you're planning a six-week online course for beginners. You want to know how many people would join, what they want to make, and whether they'd pay for a live Thursday session. The course page already gets visitors from your Instagram and a monthly newsletter.

  1. 01

    Confirm the plan

    The site is on Core, so the Code Block can run the snippet. If you were on Basic, the button path from the plan section would be the way to go.

  2. 02

    Build the waitlist from the course template

    Start from the course cohort template, change the headline to the course name and the first cohort's start month, and publish. The page has one form and one promise: you'll email when the cohort opens.

  3. 03

    Add the Code Block to the course page only

    On the course page, add a Code Block where the form should sit, set Mode to HTML, paste the script snippet and save. The homepage and the blog keep their existing layout because the block lives on one page.

  4. 04

    Ask one qualifying question (Pro)

    Add a select field asking which skill the person wants to build first, with options like wheel throwing and glazing. Your Contacts list then shows what each signup wants, so you can plan the first week around the most common answer.

  5. 05

    Test on a phone before you share the link

    Preview the course page at phone width. Check the form isn't cropped and the confirmation message reads well in a narrow column.

  6. 06

    Send the cohort email from a flow

    When the cohort is ready, enroll the existing contacts into an email flow with the manual trigger. Put your booking link for a free 15-minute call in the email body, because LaunchSuite sends from its own address and has no reply inbox.

You end up with a list of people who asked for a six-week beginner course, each with the skill they want first and the date they signed up. You know whether to run the course, how big the first cohort should be, and which skill to lead with, before you record any videos.

Start from a template

The course cohort template is built around one cohort, one signup form and a follow-up email, which matches a Squarespace course page. Change the cohort name and start month, add the skill question as a custom field on Pro, and publish.

Open the template or compare Free and Pro

Free covers one project for good. Pro starts at $4.92 a month, billed yearly.

Questions people ask

Can I use a Code Block on the Basic plan?

Not for JavaScript or an iframe. Squarespace's Code Block help says those need the Core, Plus or Advanced plan. On Basic, add a Button block that links to your hosted waitlist instead.

Why does my snippet show up as text on the page?

The Code Block is probably in CSS or JavaScript mode. Open the block's settings and set Mode to HTML. Squarespace's help says code blocks in those other modes display the code as text.

Will the form fit on mobile?

The script version resizes to the block, so it follows the column width. Check the page at phone width before you share the link, because your theme decides the column width.

Can I keep my Squarespace form and add LaunchSuite too?

You can, but it's two lists. A Squarespace form stores responses in Squarespace, while LaunchSuite keeps signups in a contacts list with a queue position and sends the confirmation email. Pick one place for the launch list so you aren't merging rows by hand.

Should the waitlist sit in the footer?

Put it on the one page whose job is the waitlist. A footer form on every page shows the same prompt to visitors reading an article, and they're rarely the people you're trying to reach.

Can the waitlist use my own domain?

Yes, on Pro. Connect your own domain or a subdomain with a CNAME record that points to cname.vercel-dns.com, and LaunchSuite shows the exact records to add.

Keep reading