Google Analytics is a free tool that tracks who visits your website, where they come from, what they do on your pages, and when they leave. For any Squarespace website owner, it is one of the most useful tools available for making informed decisions about content and marketing.
Yes, Google Analytics works with Squarespace on every plan, and the setup takes under five minutes. Squarespace has a built-in integration that accepts your GA4 Measurement ID directly in the settings panel, with no code editing or plugins required. Below is everything you need to know about the integration, what its limitations are, and how to get the most from it.
Why Google Analytics Matters for Your Squarespace Site
Google Analytics gives you data you cannot get from Squarespace's built-in analytics alone. Here are the main reasons it is worth setting up:
- Traffic source breakdown: See exactly how much traffic comes from organic search, social media, email, referrals, and direct visits. A healthy site typically gets 60% to 80% of its traffic from organic search.
- User behavior tracking: Find out which pages people visit, how long they stay, and where they drop off. This helps you identify weak pages that need improvement.
- Conversion tracking: Set up goals to measure specific actions like form submissions, purchases, or newsletter signups.
- Audience location data: See where your visitors are geographically. If your audience is not coming from your target locations, your marketing strategy may need adjustment.
For example, if a particular page has a high bounce rate, that signals something on the page is pushing visitors away. You can then test changes to the layout, content, or calls to action to improve performance.

How to Connect Google Analytics to Squarespace
Connecting Google Analytics to your Squarespace site is straightforward. Follow these steps:
- Log in to your Squarespace dashboard
- Go to Settings from the Home Menu
- Click Advanced
- Click External API Keys
- Find the Google Analytics Account Number field
- Enter your GA4 Measurement ID (starts with "G-")
- Click Save
After saving, it typically takes up to 24 hours for data to start appearing in your Google Analytics account. You can verify the connection immediately by checking the Realtime report in Google Analytics while browsing your site.

GA4 vs. Universal Analytics on Squarespace
Google fully retired Universal Analytics in mid-2024 and replaced it with Google Analytics 4 (GA4). If you previously had a Universal Analytics tracking ID (starting with "UA-"), you need to switch to a GA4 Measurement ID (starting with "G-").
GA4 uses an event-based tracking model instead of the older session-based model. This means it tracks individual user interactions like clicks, scrolls, video plays, and file downloads as separate events. The result is more detailed data about how visitors actually use your site.
To switch, create a new GA4 property in your Google Analytics account, get the Measurement ID from your data stream settings, and replace the old UA code in your Squarespace External API Keys field.
What Squarespace Does NOT Send to Google Analytics
This is something most setup guides skip entirely. Squarespace deliberately keeps certain data inside its own dashboard and does not pass it to GA4. Knowing this prevents you from drawing wrong conclusions from your analytics reports.
Here is what Squarespace holds back from Google Analytics:
- Password-protected page views: If a page or collection is protected by a password, Squarespace does not fire the GA4 tracking script for visitors who have not yet entered the password. Those page views appear in Squarespace Analytics but are invisible to Google Analytics.
- Squarespace Analytics commerce revenue figures: Squarespace calculates its own revenue and conversion totals using server-side data. The numbers in your Squarespace Analytics dashboard use a different attribution model than GA4, which is why the two will rarely agree on total sales figures.
- Member Area content views: Pages restricted to logged-in members use Squarespace's membership system, which bypasses the standard GA4 script injection for authenticated sessions. Member activity is tracked in Squarespace's Member Area panel, not in GA.
- Scheduling and Acuity Scheduling pages: Booking pages hosted through Squarespace Scheduling run on a separate subdomain or iframe embed. GA4 does not automatically track activity inside those booking flows without additional cross-domain configuration.
- Form submission detail: GA4 receives a form_submit event when a visitor completes a form, but it does not receive the content of the form fields. That data stays in Squarespace's form storage.
The practical takeaway: use Squarespace Analytics for commerce-specific reporting and member activity, and use GA4 for everything else. Treat them as complementary tools, not competing ones.
Squarespace Cookie Consent and GA4: A Hidden Data Gap
Squarespace has a built-in cookie consent banner that appears to visitors in regions where privacy laws require it, including the EU under GDPR and California under CCPA. What most site owners do not realize is that this banner directly affects how much data GA4 actually collects.
When a visitor lands on your site and the cookie consent banner appears, Squarespace blocks the GA4 tracking script from firing until the visitor explicitly accepts cookies. If a visitor scrolls past the banner, closes the tab, or simply ignores it, GA4 never records that session at all. Depending on your audience's location and behavior, this can mean 20% to 40% of your European traffic goes completely untracked.
There are a few ways to handle this:
- Check your consent rate: In GA4, go to Admin > Data Streams > your stream > Configure tag settings > Consent overview. This shows you the percentage of sessions where consent was granted versus denied.
- Enable GA4 modeling: GA4 can use machine learning to model and estimate traffic from users who declined consent, partially filling the gap. Turn this on in Admin > Reporting Identity.
- Review your banner placement: Squarespace gives you limited control over the cookie banner's timing. If yours is set to block all tracking by default (the strictest setting), your GA data will reflect only opted-in visitors.
If your GA4 data looks unexpectedly low compared to Squarespace's own traffic numbers, the cookie consent gap is often the reason. Check this before assuming your GA setup is broken.
Common Reasons Google Analytics Shows No Data on Squarespace
If you have connected GA4 but your reports are empty or showing far less traffic than expected, one of the following is almost always the cause.
- Wrong Measurement ID format: GA4 Measurement IDs start with "G-" (for example, G-XXXXXXXXXX). If you entered a UA- ID from an old Universal Analytics property, or copied a Stream ID (a long number with no prefix) instead of the Measurement ID, tracking will not work. Go back to GA4 Admin > Data Streams > your stream and confirm the ID starts with "G-".
- Cookie consent blocking: As covered above, if your audience is heavily EU-based and most visitors decline cookies, your GA data will be sparse or absent.
- Ad blockers and privacy browsers: A significant portion of tech-savvy visitors use ad blockers or privacy-focused browsers like Brave that block GA4 by default. Studies suggest 25% to 40% of desktop users in some industries block analytics scripts. This is normal, not a configuration error.
- You are filtering yourself out: GA4 filters out traffic from your own IP address by default if you have set up an internal traffic filter. Check Admin > Data Filters to see if an "Internal Traffic" filter is active and excluding your visits during testing.
- Squarespace caching delay: After you save your GA4 Measurement ID in Squarespace settings, the change may take a few minutes to propagate across Squarespace's servers. If the Realtime report shows nothing immediately after saving, wait five minutes and test again.
- GA4 property is in a different Google account: If you manage multiple Google accounts, make sure the GA4 property you are referencing belongs to the same Google account you are logged into when checking reports. It is easy to save one Measurement ID but check the wrong GA property.
The fastest diagnostic: open your Squarespace site in an incognito browser window (with extensions disabled), accept cookies if the banner appears, then check the GA4 Realtime report. If you see yourself as an active user, the integration is working correctly. If not, recheck the Measurement ID in Squarespace settings.
E-commerce Tracking With Google Analytics and Squarespace
If you sell products through Squarespace Commerce, GA4 receives e-commerce event data automatically, but the level of detail depends on which events Squarespace fires natively versus which ones require extra setup.
Events Squarespace sends to GA4 automatically:
- view_item: Fires when a visitor views a product page. Includes product name, price, and category.
- add_to_cart: Fires when a visitor adds a product to their cart. Includes item details and quantity.
- begin_checkout: Fires when a visitor starts the checkout process.
- purchase: Fires when an order is completed. Includes transaction ID, revenue, tax, shipping, and item list. This is the most valuable e-commerce event for measuring actual sales performance.
Events you need to configure manually or cannot get from Squarespace:
- view_item_list: Squarespace does not reliably fire this event on collection/category pages. You would need custom JavaScript injected via Code Injection to capture list impressions.
- remove_from_cart: Not sent natively. Requires custom event tracking via Code Injection.
- refund: Squarespace does not push refund data to GA4 automatically. If refund tracking matters for your reporting, you need to send it via the GA4 Measurement Protocol after processing refunds manually.
To see e-commerce data in GA4, go to Reports > Monetization > E-commerce purchases. If you see no data there even though orders are coming through, confirm that your GA4 data stream has "Enhanced measurement" turned on, and check that the purchase events are appearing in GA4's DebugView when you place a test order.
Understanding Your Google Analytics Reports
Once the integration is active, Google Analytics provides several key report categories:
- Realtime: Shows who is on your site right now and what pages they are viewing
- Acquisition: Breaks down where your visitors come from (search, social, direct, referral)
- Engagement: Shows which pages get the most views, how long users spend on them, and which events they trigger
- Retention: Tracks how often visitors return to your site over time
- Demographics: Provides age, gender, and interest data for your audience (when enough data is available)
Check these reports at least once a week. Look for trends in traffic sources, pages with high bounce rates, and content that drives the most engagement.

Squarespace Analytics vs. Google Analytics
Both tools track website data, but they measure things differently. Squarespace counts unique visitors using its own method, while Google Analytics uses cookies and may count the same person differently across devices. Google also filters out known bots more aggressively than Squarespace does.
In practice, you will often see slightly different numbers between the two dashboards. This is normal. Use Squarespace Analytics for quick commerce and content overviews, and Google Analytics for deeper traffic analysis and conversion tracking.
Frequently Asked Questions
Does Google Analytics work with Squarespace?
Why is Google Analytics showing no data on my Squarespace site?
Does Squarespace's cookie consent banner affect Google Analytics data?
What e-commerce events does Squarespace send to GA4 automatically?
Do I need Google Analytics if Squarespace already has built-in analytics?
What data does Squarespace keep out of Google Analytics?
* Read the rest of the post and open up an offer