Squarespace - How to install the Bridebook Website Widget
Choose how you want the widget to appear on your website, then follow the steps for your chosen option.
Before you start
Watch the walkthrough
4 steps to go live
Get your widget code from Bridebook Business
Log into Bridebook Business and head to the Website Widget section. You will find your unique embed code ready to copy. This code is specific to your venue , do not share it or use someone else's.
<iframe width="100%" height="600"
src="https://enquiry.bridebook.com?publicId=YOUR_VENUE_ID&widgetId=YOUR_WIDGET_ID">
</iframe>
Open your Squarespace dashboard and go to the page you want to edit
Log in to your Squarespace account. From the main dashboard, click Website in the left sidebar, then click Edit Site. In the Pages panel that appears on the left, find the page where you want the widget to appear , most venues use their Contact page , and click on it to open it.
Good to know
If you want the widget on its own page, you can create a new one. In the Pages panel, click the + next to Main Navigation and choose Blank Page, then give it a name like "Book a Viewing".
Add a Code block
In the page editor, hover over the area where you want the widget to appear and click Add Section. When the section panel opens, click Add Blank to insert an empty section. Then click Add Block inside that section.
In the block search bar that appears, type code and select the Code block from the results (it has a </> icon). This is the block that lets you paste raw HTML directly onto your page.
Important , set mode to HTML
Once the Code block is added, a Content panel will open on the right. Make sure the Mode dropdown is set to HTML and that Display Source Code is toggled on. Without this, the iframe will appear as raw text instead of loading the widget.
Paste your code and save
Click inside the code editor area in the Content panel and paste the iframe code you copied from Bridebook Business. Do not add any extra spaces or line breaks around it. Then click Save in the top left corner of the editor, and open your page in a new tab to confirm the widget is showing.
What to look for
The Bridebook form loads directly on your page
Couples will see options to book a showround, register for an Open Day, or send an enquiry. Every submission lands in Bridebook Business tagged as Website Widget.
Not showing up?
Check that the Code block Mode is set to HTML and Display Source Code is toggled on. Clear your browser cache or open the page in a private window. If the widget is still missing, check the code was pasted without any changes to the URL or spacing.
Before you start
Watch the walkthrough
How the popup works
The popup widget has two parts. First you add a script to your page's header using Squarespace's built-in code injection , this loads Bridebook in the background. Then you add a button to that page using a Code block. When a couple clicks it, the Bridebook form opens in a popup overlay. Your existing page design stays exactly as it is.
4 steps to go live
Get your script from Bridebook Business
Log into Bridebook Business and go to the Website Widget section. Copy your unique script tag. This is different to the embedded widget code , it is a single line starting with <script rather than an iframe.
<script src="https://enquiry.bridebook.com/widget.js"
data-public-id="YOUR_PUBLIC_ID"
data-widget-id="YOUR_WIDGET_ID"
defer></script>
Add the script to your page header using Code Injection
The script needs to load in the page's <head> so it is available before the button is clicked. In Squarespace, the easiest way to do this is via each page's built-in code injection setting , no plugins or theme editing required.
In the Pages panel, click the settings gear icon next to the page you want to add the widget to. The Page Settings panel will open.
In the Page Settings panel, click Advanced in the left menu. You will see a field labelled Page Header Code Injection. Paste your script code into this field exactly as copied from Bridebook Business.
Click Save to close Page Settings. The script is now loading in the background on this page.
Good to know
The script loads silently in the background. Nothing will appear on your site until you add a button in the next step. Page Header Code Injection is only available on Business and Commerce Squarespace plans.
Add a button to your page
Now you need to add a button somewhere on your page that opens the widget when clicked. Click Edit on the page, hover over where you want to place the button, and click Add Section → Add Blank. Then click Add Block, type code in the search bar, and select the Code block.
In the Content panel, set Mode to HTML and make sure Display Source Code is toggled on. Then paste one of the button codes below into the editor.
Option A , Bridebook branded button
Use this if you want to get up and running quickly. It matches Bridebook's colour and style and works straight away.
<button data-bb-open style="background-color:#4D52E3;
color:#fff;padding:12px 24px;border-radius:30px;
border:none;font-size:15px;font-weight:700;
cursor:pointer;">Book a viewing</button>
Preview of how the button will look
Option B , Match your own brand
Use this if you want the button to fit your venue's existing style. Change the colours, font size, and label text to match. The only thing you must keep is data-bb-open , that is what connects the button to the Bridebook popup.
<button data-bb-open style="background-color:#YOUR_COLOUR;
color:#YOUR_TEXT_COLOUR;padding:12px 24px;
border-radius:8px;border:none;
font-size:15px;font-weight:700;
cursor:pointer;">Your button label</button>
The one rule
You can change anything about the button's appearance, but data-bb-open must stay on the button element. Without it the popup will not open.
Save and test it
Click Save in the top left of the editor. Then open your page in a new tab and click the button. The Bridebook form should open in a popup overlay on top of your existing page.
What to look for
The Bridebook form opens in a popup when the button is clicked
Couples can book a showround, register for an Open Day, or send an enquiry without leaving your page. Every submission lands in Bridebook Business tagged as Website Widget.
Popup not opening?
Check that the script is correctly pasted in Page Settings → Advanced → Page Header Code Injection, and that you clicked Save after adding it. Then confirm the button code includes data-bb-open exactly as shown. Clear your cache and try again in a private window.
Works with
Ready to go?
Set up your widget in Bridebook Business
Get your unique code, choose your widget type, and go live. Every enquiry lands in Bridebook Business automatically, tagged by source and ready to action.
Set up your widget →