The short answer: you are almost certainly logged in. Squarespace disables script-bearing injections in your editing preview, and Squarespace's own analytics excludes your traffic while you are logged in — so the two dashboards disagree and GA4 looks broken. Open the live site in a private window, logged out, and check GA4's Realtime report. That single test resolves most cases before you change anything.
Here are the seven causes, ordered by how often each turns out to be the culprit.

Quick diagnostic table
| Symptom | Most likely cause | Jump to |
|---|---|---|
| Nothing in Realtime while you browse your own site | You are logged in | Cause 1 |
| Realtime works, standard reports empty | Processing delay, not a fault | Cause 4 |
| Sessions and pageviews roughly double | Tag installed twice | Cause 2 |
| Some visitors tracked, many not | Cookie banner blocking before consent | Cause 3 |
| Data stopped on a specific date | Internal traffic filter switched to Active | Cause 5 |
| Tracking works for you, not for others | Ad blocker or browser tracking prevention | Cause 6 |
| Never worked, on any device | Wrong field, wrong ID, or wrong stream | Cause 7 |
Cause 1 — You are logged in to Squarespace
This is the most common cause and almost nobody names it. Two separate Squarespace behaviours combine.
First, Squarespace disables injected scripts in your editing preview. If custom code is interfering with secure editing, Squarespace shows this at the bottom of the site: "We detected an error loading your site preview. This is usually caused by injected code." Clicking Disable Scripts in Preview changes the message to "Scripts have been disabled on your site preview". From that moment, anything you pasted into Code Injection — including a gtag snippet or a Google Tag Manager container — does not load for you. Code Blocks behave the same way, showing "This block contains embedded scripts. Embedded scripts are disabled while you're logged in and editing your site."
Second, Squarespace excludes your own traffic from its own analytics while you are logged in. GA4 does not. Squarespace states this directly. So Squarespace Analytics shows nothing for your visit, GA4 may show something, and neither number matches what you expect.
The confirmation test, 30 seconds: open a private or incognito window, load your live site URL directly (not through the editor), browse two pages, and watch GA4 → Reports → Realtime. If your session appears, nothing is broken and you were testing the wrong thing.
Note the asymmetry. Squarespace's native Google Analytics field — Settings → Developer tools → External API keys → "Google Analytics account number" — is not an injected script, and Squarespace documents that it registers your logged-in previews as pageviews. Installed that way, logged-in previews do get counted. Installed through Code Injection or Tag Manager, they may not. Same site, opposite behaviour, depending on route.
Cause 2 — The tag is installed twice
The symptom is not "no data". It is too much data — sessions and pageviews roughly double, engagement rate collapsing, every conversion rate halving.
It happens when a G- measurement ID sits in External API keys and the gtag snippet is also in Code Injection → Header, or a Google tag for the same property is deployed through Google Tag Manager.
Confirmation test: open Tag Assistant, connect to your site, then open GA4 → Admin → Data display → DebugView. Load one page and count the page_view events in the seconds stream. One is correct. Two means the tag is installed twice.
Fix: pick one route and remove the other. Keep the native field if you run Squarespace Commerce — it automatically sends GA4 the order ID, store name, purchase total including shipping, customer city/region/country, product name and SKU for every order, which an injected snippet does not. GA4 will not correct historical data, so note the date you fixed it.
Cause 3 — The cookie banner is blocking the tag before consent
If you enabled a Squarespace cookie banner, GA4 may be collecting nothing from a large share of visitors, entirely by design.
In the Cookies & Data Privacy panel (some Squarespace help pages still call it Cookies & Visitor Data), switching on the Manage cookies button means non-essential cookies must be restricted until a visitor accepts them — Squarespace removes the Restrict / Remove Restriction choice in that configuration. Until a visitor clicks accept, GA4 gets nothing.
Confirmation test: load the live site in a private window and do not interact with the banner. Check GA4 Realtime — you should see nothing. Now accept cookies and reload. If your session appears only after accepting, the banner is working as configured and your GA4 numbers represent consenting visitors only.
Fix: this is a policy decision, not a bug. If you want consent choices communicated to Google, Squarespace's documented sequence is: save the measurement ID first, then open Cookies & Data Privacy, switch on Cookie banner, switch on the Decline all button, and Save. Google's consent mode handles it from there. Expect your Squarespace visitor count to sit above GA4's afterwards — Squarespace can count one visitor's ten pageviews as ten visitors when it cannot link them, while GA4 uses behavioural modelling instead.
Cause 4 — You are looking too soon
Not a fault. GA4 is not a real-time product for most reports.
- Realtime shows sessions within a minute or two.
- DebugView shows events as they happen.
- Intraday reporting takes roughly 2–6 hours for standard properties.
- Standard reports process on a 24–48 hour cycle.
Squarespace adds its own note: it may take up to 24 hours for site statistics to populate in Google Analytics. Squarespace Analytics itself refreshes on up to a three-hour lag.
Confirmation test: if Realtime shows your session but the Traffic acquisition report shows zero, wait a day. Nothing is wrong.
Cause 5 — An internal traffic filter is removing more than you meant
The symptom is data stopping abruptly on a date, or a whole office's traffic vanishing.
GA4 internal traffic exclusion has two parts, and the second one is where it goes wrong. In Admin → Data streams → Configure tag settings → Define internal traffic you create a rule matching an IP or CIDR range. Then in Admin → Data filters you create an Internal Traffic filter and set it to Testing or Active.
Two failure modes:
- Left in Testing — GA4 tags matching data with a test dimension but does not remove it. People assume they are filtered out and they are not.
- Set to Active with too broad a rule — a CIDR range covering an entire ISP block, or a shared office IP that also covers customers. An active exclude filter is permanent: excluded data is never processed and never becomes available, in reports or BigQuery.
Confirmation test: check the filter's state in Admin → Data filters and check the IP rule against your actual public IP. Filters take 24–36 hours to take effect, so a rule added yesterday may only now be biting.
Cause 6 — Ad blockers and browser tracking prevention
A meaningful share of visitors block google-analytics.com outright, and Safari and Firefox restrict cross-site tracking by default. There is no fix.
Confirmation test: disable your ad blocker, reload the live site logged out, and check Realtime. If the session appears only with the blocker off, your own test was being blocked — not the site.
What to do about it: treat GA4 as a directional sample, not a census. This is why Squarespace Analytics matters for anything involving money: order data comes from Squarespace's own records and cannot be blocked. Squarespace's documentation acknowledges that GA4 occasionally misses orders Squarespace recorded.
Cause 7 — Wrong field, wrong ID, or wrong data stream
If nothing has ever tracked, on any device, check these four in order.
- The right field. The measurement ID belongs in Settings → Developer tools → External API keys → "Google Analytics account number". Not in Code Injection. Not in the SEO panel.
- The right ID format. It must start with
G-. AUA-tracking ID collects nothing — Universal Analytics stopped processing data and cannot be converted. The field label says "account number" for historical reasons; it accepts a GA4 measurement ID. - The data stream exists. A GA4 property with no web data stream collects nothing. Check Admin → Data collection and modification → Data streams, and confirm the stream URL matches the domain Squarespace serves — including
wwwor its absence. - You are looking at the right property. If the account has several properties, confirm the
G-ID in Squarespace matches the property whose reports you are opening. Common on agency accounts.
Confirmation test: on the live site logged out, open browser developer tools, filter the Network tab for collect, and reload. One request to google-analytics.com/g/collect carrying your G- ID means the tag is firing correctly and the problem is on the GA4 side, not the Squarespace side.
Still not tracking?
Work the list in order — logged in, double install, cookie banner, processing delay, filters, ad blockers, wrong field. In practice, the first and fourth account for the majority of cases, and neither is a fault.
If you have been through all seven and the tag genuinely does not fire on the live site logged out, the cause is usually a conflict between injected code and something else on the site — a second script erroring before the tag loads, or a container that was never published. Untangling that means reading the console rather than guessing.
That is the kind of thing our Squarespace website support plans exist for; most tracking faults we are sent get diagnosed inside a single support block. No obligation either way — the seven causes above resolve the overwhelming majority of cases on their own.
For the correct install from scratch, see how to add GA4 to Squarespace. For why the two dashboards never agree even when both work, see Squarespace Analytics vs Google Analytics.
FAQ
Why is GA4 not tracking my Squarespace site?
Most often because you are testing while logged in. Squarespace disables injected scripts in your editing preview and excludes your own traffic from its analytics. Open the live site in a private window, logged out, and check GA4's Realtime report before changing anything.
Does Squarespace disable Google Analytics while I'm logged in?
It disables injected scripts in your editing preview, showing "We detected an error loading your site preview. This is usually caused by injected code." The native Google Analytics field in Developer tools → External API keys behaves differently — Squarespace documents that it registers your logged-in previews as pageviews.
GA4 Realtime works but my reports are empty. Is it broken?
No. GA4 standard reports process on a 24 to 48 hour cycle, and intraday reporting takes roughly two to six hours. Squarespace also notes statistics may take up to 24 hours to populate. Realtime and DebugView are the only near-instant surfaces.
Does the Squarespace cookie banner block GA4?
It can, by design. With the Manage cookies button enabled, non-essential cookies are restricted until a visitor accepts, so GA4 collects nothing from that visitor until they click. Test by loading the site in a private window without touching the banner, then accepting and reloading.
Why is GA4 counting my Squarespace pageviews twice?
Because the tag is installed twice — usually a measurement ID in External API keys plus a gtag snippet in Code Injection, or a Google tag deployed through Tag Manager for the same property. Check DebugView via Tag Assistant: one page_view per page is correct.
Where is the Google Analytics field in Squarespace?
Settings → Developer tools → External API keys → the "Google Analytics account number" field. Paste the G- measurement ID there and save. It is not in the SEO panel and it does not belong in Code Injection.















