Guides / Platforms / Squarespace

Install guide

Add a DreamWidget to Squarespace

Where it goesCode block
What you needCode blocks that run scripts and Code Injection need a Business or Commerce plan (Core, Plus or Advanced on the newer pricing).

Squarespace adds code through the Code block, which sits in the page grid like a text or image block. On Squarespace 7.1 with Fluid Engine you set the block's size on desktop and on mobile separately.

Widgets that work on Squarespace

Every DreamWidget below works on Squarespace, with the same steps.

Logo Showcase, Video Showcase, YouTube Widget, Vimeo Widget, TikTok Widget, Twitch Widget, Countdown, Instagram feed, Showreel.

Where they work best on a Squarespace site

  • The home page, between sections. A logo row of clients or press on a section of its own.
  • A gallery or work page. A video gallery next to your photo galleries, in the same section style.

Add a widget to a page

First, copy your code. In the DreamWidget editor, press Publish changes, then Copy code in the window that says your widget is live. The same code is in Settings, under Copy embed code. It is one short code; paste all of it, as copied.

  1. Edit the page. Open the page and press Edit, then an insert point (+) where the widget should go.
  2. Add a Code block. Choose "Code" from the blocks, paste your DreamWidget code and switch "Display Source" off.
  3. Save. Press Apply, then Save. The editor may show a placeholder; the live page shows the widget.

The popup on every page

These float over the page instead of taking a spot in it, so they load once per page.

  1. Open Code Injection. Go to Settings, then Advanced (Developer tools on 7.1), then Code Injection.
  2. Paste in the Footer. Paste the code into the Footer box and save.

If it does not show up

  1. The Code block shows nothing, or a message about scripts. Scripts in a Code block run only on the Business and Commerce plans (Core, Plus and Advanced on the newer pricing). On a Personal plan the block stays empty.
  2. The code shows up as text. Turn off Display Source in the Code block's settings.
  3. The editor shows a grey placeholder. Squarespace does not run scripts while you edit. Save and view the live page.
  4. You are on Squarespace 7.0. The Code block is in the same place. Code Injection, for code on every page, is under Settings, then Advanced.

Check it worked

Open the published page in a private window. The widget draws within a second; if the box is empty, see Checking it worked. Changes you make in the DreamWidget editor reach Squarespace by themselves; you never paste the code again.

Other platforms