Clerion
  • Explore ClerionFeaturesUse casesMCP server
    Feature pagesAI trafficRevenue by sourceCustom eventsError intelligenceBriefing and signalsSecurity
  • Docs
  • Pricing
  • Privacy-first toolsPlausibleFathomMatomo
    Large platformsGoogle AnalyticsMixpanelCloudflare Web AnalyticsPostHogAmplitude
  • LearnBlogHelp centreChangelog
    CompanyAbout usBrandContact
Sign inStart free trial ›
  • Explore ClerionFeaturesUse casesMCP server
    Feature pagesAI trafficRevenue by sourceCustom eventsError intelligenceBriefing and signalsSecurity
  • Docs
  • Pricing
  • Privacy-first toolsPlausibleFathomMatomo
    Large platformsGoogle AnalyticsMixpanelCloudflare Web AnalyticsPostHogAmplitude
  • LearnBlogHelp centreChangelog
    CompanyAbout usBrandContact
  • Contact sales
Sign inStart 14-day trial

On this page

  • What is Clerion?
  • Why add analytics to Squarespace if it already has some?
  • What do you need before you start?
  • How do you add the Clerion script tag in Squarespace?
  • Which Squarespace pages will Clerion count?
  • Can Clerion show revenue by source on Squarespace?
  • How do you check it is working?
  • Should you use Google Tag Manager on Squarespace instead?
  • What will you see once it is running?
  • Frequently asked questions
  • Sources
  1. Blog
  2. How to add analytics to Squarespace with Clerion
  1. Blog
  2. How to add analytics to Squarespace with Clerion

How to add analytics to Squarespace with Clerion

Clerion Research Team3 December 20268 min read

To add analytics to Squarespace with Clerion, open the Code Injection panel, paste the Clerion script tag into the Header field and click Save. It runs on every page, but only on plans with code injection (Core, Plus, Advanced, some legacy plans), not Basic.

Analytics on Squarespace banner on a dark blue vortex

To add analytics to a Squarespace site with Clerion, open the Code Injection panel, paste the Clerion script tag into the Header field and click Save. Squarespace places Header code inside the head of every page, so one paste covers the whole site, as long as the site is on a plan that includes code injection.

Paste the Clerion script tag into Squarespace and see your first visit

14-day trial, no card to sign up. A card is only asked if you start a paid plan trial from the upgrade modal.

What is Clerion?

Clerion is website intelligence for AI founders. You add one script tag, and each morning it reads your site and tells you the one thing worth doing, in a sentence, with your own numbers as the evidence. It counts AI-assistant traffic as its own channel, ties signups and revenue to their source, and connects to Claude so you can ask about your traffic from the chat.

It sets no cookies, so it needs no consent banner of its own. Data is held in the EU, never sold, and the model only sees aggregates.

Why add analytics to Squarespace if it already has some?

Squarespace has its own analytics panels, and for a small site they may be all you need. The question many founders now ask is narrower: is ChatGPT, Perplexity or Claude sending people to my site, which pages do they land on, and do they sign up?

Clerion counts referrals from ChatGPT, Perplexity, Claude, Gemini and Copilot as their own channel. It also records pageviews, referrers, campaigns, clicks, scroll depth, forms, speed and JavaScript errors without an event plan. Squarespace's panels and Clerion can run side by side.

What do you need before you start?

  • A Clerion account with your site added. Signup is one email, and Clerion asks one question: which site to watch.
  • The script tag copied from Clerion. It carries your real key and site id.
  • A computer. The Squarespace app does not offer code injection.
  • A Squarespace plan that includes code injection.

That last point matters more than the rest. Squarespace's help centre says code injection is available on the Core, Plus and Advanced plans and some legacy plans. Its plan comparison lists site-wide and per-page code injection under Core, and Basic does not include it.

Squarespace plan Code injection Can you install Clerion this way?
Basic Not included No
Core Site-wide and per page Yes
Plus Site-wide and per page Yes
Advanced Site-wide and per page Yes
Some legacy plans Included on some Check your plan

When you add your site, Clerion recognises Squarespace from the page and shows the Squarespace steps next to the snippet. If someone else looks after the site, send them the snippet from the install screen; they get the line and the steps, and their reply comes to you.

How do you add the Clerion script tag in Squarespace?

These steps follow Clerion's install docs and Squarespace's own help article on code injection.

  1. In Clerion, copy the snippet from the install screen. It looks like this, with your key and site id in place of the placeholders:
<script
  src="https://api.getclerion.com/sdk/clerion-analytics.js"
  data-api-key="YOUR_API_KEY"
  data-website-id="YOUR_WEBSITE_ID"
></script>
  1. In Squarespace, open the Code Injection panel. Clerion's docs suggest the quickest route: open Settings and search for Code Injection. On version 7.1 you can also open the Pages panel and choose Custom Code, then Code Injection. Menu labels move from time to time, so search is the safest way in.
  2. Paste the snippet into the Header field. Squarespace says code in this field is injected into the head tag on every page of your site.
  3. Click Save.

The snippet loads deferred, so it does not slow the page. Paste it once, in Header only. Not in Footer as well, and not again in a page's own header injection, because two copies on a page count every visit twice.

If you already followed our general guide, paste this one line, this is the same line in Squarespace's spot for it.

Which Squarespace pages will Clerion count?

With the snippet in the site-wide Header field, Clerion counts your pages, blog posts and shop pages. Squarespace notes two places where that does not hold.

Part of the site Counted with the Header install? Why
Pages, blog posts, product pages Yes Header code is added to every page
Checkout pages No Squarespace says checkout pages do not support code
A site moved down to Basic No Squarespace disables code injection on downgrade; the code stays in the panel but stops running

That last row is worth remembering. If your plan changes and Clerion goes quiet, the snippet may still be sitting in the panel, just not running.

Can Clerion show revenue by source on Squarespace?

Not something we can promise today. Clerion's revenue by source card fills in when a page with the snippet sends a purchase event with a value, and its docs say Clerion does not connect to Stripe or another payment provider.

Squarespace checkout pages do not take custom code. Squarespace does offer separate code fields for the order confirmation and order status pages, with tags such as the order total. We have not tested Clerion's revenue card on those pages, so treat it as an experiment: if you try it, check that the event shows up in the All events table before you rely on it. Trial Squarespace sites cannot accept payments, so this can only be checked on a paid site.

What you do get without it is the part before checkout: which sources, AI assistants included, bring people to your pages, and what they do there. For the idea behind it, see how do I track revenue from ChatGPT traffic.

How do you check it is working?

Open your live site in another tab. Squarespace's help centre notes that scripts can be disabled in the editor preview, so check the public site, ideally in a private window. The install screen in Clerion updates on its own, Clerion emails you when the first visit lands, and the live pulse on Overview refreshes every 30 seconds.

If nothing arrives, use Pasted it? Check my site on the install screen. It fetches your live page and says whether the snippet is there, missing, or carrying an old key. The usual causes on Squarespace are short:

  • The site is on Basic, so the Header field does not run.
  • The snippet went into a single page's header injection instead of the site-wide Header field.
  • Your browser sends Global Privacy Control or Do Not Track, which Clerion honours by not counting you.
  • An ad blocker or privacy extension on your own browser.

Our checklist for analytics not tracking visits walks through the rest.

Should you use Google Tag Manager on Squarespace instead?

No. You can load Clerion through Tag Manager, but Clerion's docs advise against it: ad blockers block the tag manager on a large share of devices, which gives back the accuracy you installed Clerion for. Paste the line straight into Header. We explain the trade-off in should you install Clerion with Google Tag Manager.

What will you see once it is running?

Visits from ChatGPT, Perplexity, Claude, Gemini and Copilot appear as their own channel rather than blending into referral or direct. If you are new to why that matters, our guides on how to track ChatGPT traffic to your website and why ChatGPT traffic shows as direct in Google Analytics cover the background. For Claude in particular, see how to track Claude traffic.

The first briefing works from your first visitor and gets sharper after about a week of data. Because Clerion sets no cookies, it adds no consent banner of its own; our guide on whether you need a cookie banner for website analytics explains where that line sits. On other platforms, the same line goes in a different place: see WordPress, Webflow, Framer and Shopify.

Add the Clerion script tag to your Squarespace site

14-day trial, no card to sign up. A card is only asked if you start a paid plan trial from the upgrade modal.

Frequently asked questions

Where do I paste an analytics script in Squarespace?

Open the Code Injection panel (search Settings for Code Injection, or on version 7.1 go to Pages, Custom Code, Code Injection), paste the snippet into the Header field and click Save. Squarespace adds Header code to the head of every page.

Which Squarespace plans allow adding a script tag?

Squarespace says code injection is available on the Core, Plus and Advanced plans and some legacy plans. Basic does not include it, so the Header field does not run on a Basic site.

Does Clerion track Squarespace checkout pages?

No. Squarespace says checkout pages do not support custom code, so the snippet in Header does not run there. Your pages, blog posts and product pages are counted.

Why does my Squarespace site show no visits in Clerion?

Check the live site rather than the editor preview, where scripts can be disabled. Then use Pasted it? Check my site on the install screen. Common causes are a Basic plan, the snippet in one page's header instead of the site-wide field, or your own browser sending Global Privacy Control.

Do I need a cookie banner after adding Clerion to Squarespace?

Not for Clerion. It sets no cookies and honours Global Privacy Control and Do Not Track. Other code or integrations on your Squarespace site may still need one.

Sources

  • Customize parts of your site with code injection (Squarespace Help Center)
  • Choose the right Squarespace plan (Squarespace Help Center)
  • Add custom code to your site (Squarespace Help Center)
  • Squarespace Code Injection Explained (SquareLocator)
  • Install on your platform (Clerion docs)
  • Quickstart (Clerion docs)
  • Script tag (Clerion docs)
  • Check your installation (Clerion docs)
  • Revenue by source (Clerion docs)
clerion-blog-writeradd analytics to squarespacesquarespaceinstallscript tag
Clerion

Website intelligence for AI founders.See what AI sends you, and what to fix.

Start free trial ›

14 days free, no card.

Keep reading

All writing →
  • How to track signups across domains, from site to appArticle
  • How to track Copilot traffic in your analyticsArticle
  • How to add analytics to Wix with ClerionArticle
  • Clerion vs Google AnalyticsPage
  • Do you need a cookie banner for analytics?Guide
  • Best AI analytics toolsGuide
Next step

Bring your Google Analytics history and read the difference.

Written from real site data by the team building Clerion.
Import your GA history ›
Clerion

Website intelligence for AI founders.

Product

  • Features
  • Use cases
  • Docs
  • Quickstart
  • MCP server
  • Pricing
  • Sign in

Compare

  • vs Google Analytics
  • vs Plausible
  • vs Fathom
  • vs Matomo
  • vs Mixpanel
  • vs Cloudflare
  • vs PostHog
  • vs Amplitude

Resources

  • Blog
  • Help centre
  • Is it agentic?
  • What is SI?
  • What is Clerion?
  • Changelog
  • Sitemap

Company

  • About us
  • CareersHiring
  • Brand
  • Contact
  • Security
  • Privacy policy
  • Terms

Compliance

  • GDPR
  • Schrems II
  • ePrivacy
  • PECR
  • COPPA
  • CCPA
  • Our data journey
Product
  • Features
  • Use cases
  • Docs
  • Quickstart
  • MCP server
  • Pricing
  • Sign in
Compare
  • vs Google Analytics
  • vs Plausible
  • vs Fathom
  • vs Matomo
  • vs Mixpanel
  • vs Cloudflare
  • vs PostHog
  • vs Amplitude
Resources
  • Blog
  • Help centre
  • Is it agentic?
  • What is SI?
  • What is Clerion?
  • Changelog
  • Sitemap
Company
  • About us
  • CareersHiring
  • Brand
  • Contact
  • Security
  • Privacy policy
  • Terms
Compliance
  • GDPR
  • Schrems II
  • ePrivacy
  • PECR
  • COPPA
  • CCPA
  • Our data journey

Clerion (“Clerion”), at getclerion.com and clerion.si, is website intelligence for AI founders: web analytics, AI-assistant traffic, conversions and revenue by source, SEO and AI-readiness, speed and errors from one script tag. It finds the patterns in the data, ranks what changed and tells you the fix. Designed with taste: one typeface, no accent colour, and nothing that moves unless it tells you something. AI is now also called SI, super intelligence; the channel is the same. It sets no cookies, stores no personal data, needs no consent banner, and holds data in the EU. Every briefing is written from your own numbers, and every figure in it comes from your data rather than from the model. Clerion is a software product and does not provide marketing, legal or advisory services. We have no ad budget: if Clerion helps you, telling a friend does more for us than any campaign could.

© 2026 Clerion. Independent and self-funded.

Served from the Netherlands.