Integrations

Squarespace push notifications

You can send web push to Squarespace visitors. You just can’t ask them on the Squarespace page itself without extra infrastructure.

What Squarespace allows

Squarespace’s Code Injection can add the SuperWicket script to your pages, but web push also needs a service worker file served from your own domain, and Squarespace doesn’t let you upload one. Without it, the browser won’t let your pages subscribe visitors. So there are two routes.

Recommended: the hosted subscribe page

  1. Create a website in SuperWicket and turn on the hosted subscribe page. Add your logo, a clear title (“Get new posts as notifications”) and how often you’ll send.
  2. Add a button or link in Squarespace pointing to https://superwicket.com/s/your-name: in the header navigation, a button block at the end of blog posts, or the footer.
  3. Connect your blog feed for automatic alerts. Squarespace blogs publish RSS at the blog page URL plus ?format=rss, for example https://your-site.com/blog?format=rss. See RSS to push.

The hosted page works on iPhone too: visitors can add it to their Home Screen and subscribe from there.

Advanced: serve the service worker through Cloudflare

If your domain’s DNS is on Cloudflare and you are comfortable running your Squarespace site through Cloudflare’s proxy, a Cloudflare Worker can answer one URL (/superwicket-sw.js) on your domain while everything else goes to Squarespace. Squarespace doesn’t officially support proxying, so test SSL and checkout carefully before relying on it. The Worker code is the same as in the Webflow guide. Then add the script tag under Settings, Advanced, Code Injection, Header.

What Squarespace sites usually send

  • New blog posts and podcast episodes, through RSS to push.
  • Event reminders and ticket releases.
  • Shop launches and sales, at the same local time in each timezone.

Frequently asked questions

Can I add push notifications to Squarespace with code injection?

Code injection can add the script, but web push also needs a service worker file on your domain, which Squarespace doesn’t allow. Use the hosted subscribe page and link to it.

Try it on your own site

The Free plan has no time limit and needs no card. Add one script tag, or share a hosted subscribe page if you can’t upload files.