Back to blog

September 13, 2026

·

Jackson

Astrology Chart Widget for Squarespace: Two Lines of Code, Every Chart Becomes a Lead

Add a free natal chart or Human Design widget to Squarespace with one Code block (Business plan+). Email lead capture built in, pay per chart, no code.

squarespaceembedwidgetastrologylead-generation

You are sending Squarespace visitors off to a free chart site to "get their chart first," and most of them never come back. The free chart on your own site should be the thing that captures the email. Right now it is the thing that loses it.

Here is the fix, in the time it takes to add a Code block.

A quick word from me before the steps. Most of the people who write in about the widget are on Squarespace, usually with a beautiful site and a "get your chart here" link pointing somewhere else. That link is quietly costing you clients. Ten minutes and one Code block fixes it, and I made the widget free precisely so you could try it on a real page with real visitors before deciding whether it earns a place in your business. It will.

— Jackson

What you get

  • A natal chart or Human Design bodygraph, computed on your page. Visitors enter birth date, time, and place; the chart renders in about two seconds. Free on every account.
  • An email gate, if you want one. Turn it on and each visitor trades an email (with a consent checkbox) for their chart. Lead capture is free.
  • Leads where you can use them. Every lead lands in your dashboard, in your inbox within the hour, and as CSV. On Pro, a Zapier or Make webhook also delivers each lead to Mailchimp, Kit, Flodesk, or HubSpot the moment it is captured.
  • No re-pasting, ever. Theme, accent color, logo, house system, chart types: every change in the dashboard goes live on your Squarespace page the moment you save. The snippet never changes.

Try it before you install it:

This is the real widget, live. Enter birth details and the chart renders here. Lead capture is switched off on this demo.

Why it works on Squarespace specifically

The snippet is a two-line <script async> that swaps itself for an iframe served from embed.openephemeris.com. Async means it can never block your page from rendering; the iframe means it cannot fight Squarespace's own scripts or your template's CSS, which is the usual way third-party embeds break on 7.1 templates. Underneath it is the same engine that serves the OpenEphemeris API: NASA JPL's DE440 ephemeris for every position, and the Human Design bodygraph solved at exactly 88° of solar arc. Why that beats linking out, screenshotting, or a custom build is covered in the main widget guide; this page is only the Squarespace install.

Step by step on Squarespace (about ten minutes)

  1. Check your Squarespace plan. Code blocks require Business or higher. Personal-plan sites do not run custom scripts, so the widget cannot load there. (Squarespace's own docs on Code blocks say the same.)
  2. Create a free OpenEphemeris account and open Dashboard → Widgets → New widget. No card required.
  3. Configure in the wizard: chart types (natal, bodygraph; the synastry bi-wheel is on Pro), house system, zodiac, body set, theme (light, dark, or mono), accent color, your logo.
  4. Add your domain to the widget's allowlist, e.g. yoursite.com (or yoursite.squarespace.com while you are still on the built-in domain). This locks your key to your site.
  5. Turn on the email gate. Leads go to your dashboard, your inbox, and CSV. On Pro, paste your Zapier or Make webhook URL in the delivery step and hit Send test to map the fields before a real lead arrives.
  6. Copy the two-line snippet. Your widget ID and publishable key are already filled in.
  7. In Squarespace: edit the page → Add Block → Code → paste → set the block's mode to HTML (the default) → Save.
  8. Verify: open the page and confirm the chart form renders where you placed the block. The dashboard's install checker confirms it too.

Do not want to touch Squarespace yourself? The dashboard writes a ready-to-send email for whoever manages your site, and a copy-paste instruction block for an AI coding agent that installs and verifies the widget for you.

What it costs to run

ActionCredits
Widget load, place search, lead submissionFree
Each chart a visitor generates3 credits (refunded if the render fails)
New free account150 credits, which is 50 charts
Top-ups$5 → 150 · $10 → 350 · $20 → 900, never expire
Pro ($29/mo)75,000 credits/month (25,000 charts), plus the bi-wheel, Zapier/Make webhooks, and white-label

Free widgets carry a small watermark on the chart and a "Powered by OpenEphemeris" link under it. That is the whole trade; white-label is one toggle on Pro. If your wallet hits zero the widget shows a "temporarily unavailable" card until you top up, which applies instantly. There is no overage billing on widgets, so a busy month can never bill you past what you agreed to, and you get an email when the balance runs low and another at zero.

Two Squarespace-specific notes

Code block vs. Code Injection. Use a Code block on the page where you want the chart, not Settings → Advanced → Code Injection. Injection puts the script in every page's header or footer, which is the wrong place for a chart that belongs in one spot.

Squarespace's built-in domain. If you are still on yoursite.squarespace.com, add that exact hostname to the widget's allowed domains. When you connect a custom domain later, add it too; the old one can stay.

Start capturing leads today

Create a free account, build the widget in the wizard, and preview it live in the dashboard before you paste anything. Upgrade to Pro when you want Zapier/Make delivery, the synastry bi-wheel, white-label, or 25,000 charts a month.