Skip to content

How to add a popup or banner to your Squarespace website

Popups and banners can engage visitors with offers, relevant content and clear calls to action. Set one up in Pagecloud, then add its embed code to Squarespace.

Updated May 7th, 2024

Why consider a popup strategy

Popups can turn a passive visitor into an active customer.

  • Increase engagement Popups draw attention to messages, offers and content that might otherwise go unnoticed.
  • Boost conversion rates Strategically placed popups with enticing offers nudge visitors toward a purchase, a sign-up or another action.
  • Gather leads Collect email addresses and contact details to build a customer list for future marketing.
  • Enhance the experience Well-designed popups give people relevant information at the right time.

Getting started with a popup strategy

A few steps to provide value without disrupting the visit.

  • Define your goals Decide what you want: more sales, more leads or attention for a new product. Clear goals guide your design and placement.
  • Know your audience Think about what visitors want and what you can offer them: discounts, exclusive content or helpful resources.
  • Design thoughtfully Make it easy to read, visually appealing and give it a clear call to action. Avoid designs that frustrate visitors.
  • Test and refine Use analytics to track performance and make data-driven adjustments.

Configure Pagecloud

To show a Pagecloud popup or banner on a site hosted elsewhere, you configure it in Pagecloud first, then add its code to Squarespace.

  • Configure your domain name
  • Define the pages you want the popup to display on
  • Copy the embed code to use on your site

Add your domain name

  1. Go to your Pagecloud dashboard.
  2. Select your project and click Banners and Popups in the left menu.
  3. Click Settings on your banner or popup.
  4. In Setup, make sure you’ve connected your domain name in the Where to display section.
The Banners and Popups list in the Pagecloud dashboard, with Edit design and Settings buttons.
The Where to display step in Pagecloud Setup, showing a connected domain.

Select pages

Once a domain is connected, choose the pages where the popup or embed displays: every page, or only some. We recommend Include pages, which lets you pick individual pages without making more updates to your website.

  1. Select Include pages.
  2. Click + Add pages.
  3. Add the name of your page.

You can also use wildcards in the form /mypage*, which matches /mypage, /mypage2 and so on.

The Where to display options in Pagecloud with Include pages selected and one page added.

Copy the embed code

Find your embed code in your Pagecloud dashboard, at the bottom of Setup or in the left toolbar.

Configure Squarespace

Choose whether the code goes on all of your Squarespace pages or only some. Placing it on all pages means you can use Pagecloud’s display settings from Step 1 to choose where the popup appears, and change them later without updating your website. To add a Pagecloud popup or banner to all pages, use Squarespace’s Code injection tools.

  1. Make sure you’ve copied the Pagecloud embed code, as described in Step 1.
  2. Paste the HTML code into the Header section of the Squarespace Code injection tool.
  3. Click Save.
The Code injection panel in Squarespace with the Header field.

Don’t have a popup yet?

It’s easy to get started. No code required, easy to set up and we’re here to help along the way.

  1. Step 1 Choose a template Save time with a popup template that fits your needs. All templates are easy to customize.
  2. Step 2 Make it yours Set up how, when and where you want your popup to display, then customize the design to fit your brand.
  3. Step 3 Publish Publish your popup to your website, then watch your analytics and conversions roll in.

Frequently asked questions

How do I get started with Pagecloud Popups?
Open your Pagecloud account, choose a template and make it yours. Popups are built and managed in Pagecloud Classic.
How do I build a Pagecloud popup?
Building a popup in Pagecloud is simple. Drag and drop content, click to edit, and publish without code.
How do I publish a Pagecloud popup?
You choose where your popup displays on your website. That includes which pages and how the popup triggers.
Can I use Pagecloud Popups on an external website?
Yes, on any website. With just one line of code you can embed a Pagecloud popup on your site.
Do I have to change my Squarespace settings every time I change pages?
Not if the code is in the Header of Code injection, which loads it on all pages. Afterward you can choose pages from Pagecloud.

Your next popup is a template away.

Pick a design, make it yours and publish it from your Pagecloud account.