Adding the inquiry form to your website

Put your Spacestack inquiry form on your website with an embed snippet, a popup button or a direct link, and pre-fill answers or limit which sites can use it.

Owners and adminsUpdated

Once your form is set up, there are three ways to share it: show it on a page, open it from a popup button, or link to it. All three live on the form's Sharing tab, under Settings, then Inquiry forms.

Show the form on a page

  1. Open the form and go to the Sharing tab.
  2. Under Add to your website, leave On the page selected.
  3. Click Copy next to the snippet.
  4. In your website builder, add an HTML, code or embed block where the form should appear, paste the snippet and publish.

The form loads in a frame that sizes itself to fit, so there's no inner scrollbar, and your site's styles don't clash with it. Most builders (Squarespace, WordPress, Wix, Webflow and others) have a block for pasting HTML or embed code; look for “Code”, “Embed” or “Custom HTML”.

Open it from a button

  1. On the Sharing tab, choose Popup button.
  2. Type the Button text (it starts as “Request a quote”). The button uses the form's accent colour.
  3. Copy the snippet and paste it where the button should appear.

Prefer your own button? Copy the attribute shown under the snippet (it starts with data-spacestack-open) onto any link or button on a page that has the snippet, and clicking it opens the form.

Under Direct link, copy the form's hosted address (it ends in /f/ followed by a long key). Use it in email signatures, social bios, QR codes or anywhere you can't embed. It opens the form on its own page with your organization's name underneath. Open form ↗ at the top of the editor opens it for you to try.

Pre-fill answers

You can fill in answers ahead of time by adding them to the direct link. For example, adding ?event_type=Wedding to the end of the link selects Wedding as the event type. In an embed snippet, add a data-prefill attribute with the same text after the question mark, such as event_type=Wedding. This is handy on a weddings page or a corporate events page.

Track where leads come from

Spacestack records the page each inquiry was sent from, and any UTM tags (utm_source, utm_campaign and so on) in that page's address. Both show on the lead's Website inquiry card.

Limit which sites can use it

Under Only accept submissions from these sites (optional), add your domain, such as yourvenue.com. Subdomains of it are allowed too. Submissions from any other site are refused with “This form cannot be submitted from this site.”

Common questions

Do I need to update my website when I edit the form?

No. The snippet always loads the current version of the form. You only need a new snippet after Generate new link.

How does the form keep out spam?

It has a hidden field bots fill in, ignores forms sent within seconds of loading, ignores the same answers sent twice within a minute, and limits how many submissions one form takes in an hour. You can mark anything that gets through as spam from the Inquiries tab.

A visitor saw “This form has expired”. Why?

A loaded form stays valid for 24 hours. If someone leaves the page open longer, they need to reload it before sending.

Was this article helpful?

Related articles

Can’t find your answer?

Send us a message and a real person on the Spacestack team will get back to you.

Contact support