Does Google Analytics Work With Squarespace?

You are building a Squarespace site and want to know if Google Analytics will work with it. Squarespace has a built-in Google Analytics integration on all plans, located in Settings > External API Keys, that supports GA4 Measurement IDs with no code editing required.
This guide covers how Google Analytics works with Squarespace, why it matters for your site, how to set it up, and how to use the data to improve your traffic and conversions. For a broader look at tracking and search performance, see our SEO and analytics guide.
Does Google Analytics Work With Squarespace?

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.

The short answer is yes, Google Analytics works with Squarespace, and setting it up takes only a few minutes. Below is everything you need to know about the integration 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.

Google Analytics Work With Squarespace - graphic of charts and graphs, documents, circular arrows, envelopes, lightbulb, globe and clouds

How to Connect Google Analytics to Squarespace

Connecting Google Analytics to your Squarespace site is straightforward. Follow these steps:

  1. Log in to your Squarespace dashboard
  2. Go to Settings from the Home Menu
  3. Click Advanced
  4. Click External API Keys
  5. Find the Google Analytics Account Number field
  6. Enter your GA4 Measurement ID (starts with "G-")
  7. 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.

Google Analytics Work With Squarespace - graphic of a person analyzing data on computer

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.

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.

Google Analytics Work With Squarespace -  graphics of magnifying glass, pie charts, bar graphs and gear

E-commerce Tracking With Google Analytics and Squarespace

If you sell products through Squarespace Commerce, Google Analytics can track detailed e-commerce data. This includes order IDs, purchase totals, product views, and add-to-cart actions. GA4's e-commerce tracking gives you a clear picture of your sales funnel and where customers drop off before completing a purchase.

To enable e-commerce tracking, make sure your GA4 property has e-commerce events turned on in the data stream settings. Squarespace automatically sends transaction data to Google Analytics when the integration is active.

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?

Yes. Squarespace has a built-in integration for Google Analytics on all plans. You add your GA4 Measurement ID in Settings > Advanced > External API Keys, and Squarespace handles the tracking script automatically.

Is Google Analytics free to use with Squarespace?

Yes. Google Analytics is a free tool from Google. There is no additional cost to connect it to your Squarespace site. You only need a Google account to get started.

What is the difference between GA4 and Universal Analytics?

GA4 is Google's current analytics platform, replacing Universal Analytics which was retired in 2024. GA4 uses event-based tracking instead of session-based tracking, giving you more detailed data about individual user interactions like clicks, scrolls, and video plays.

Can I see real-time visitors on my Squarespace site through Google Analytics?

Yes. Google Analytics has a Realtime report that shows active users on your site, the pages they are viewing, and their geographic location, all updated within seconds.

Will Google Analytics slow down my Squarespace site?

The Google Analytics tracking script is very lightweight and loads asynchronously, meaning it does not block your page content from appearing. The impact on page load speed is minimal and should not noticeably affect your visitors' experience.

Do I need Google Analytics if Squarespace already has built-in analytics?

Squarespace Analytics provides basic traffic and commerce data, but Google Analytics offers much deeper insights into traffic sources, user behavior, conversion paths, and audience demographics. Most site owners benefit from using both.

How do I check if Google Analytics is tracking my Squarespace site correctly?

Open your Google Analytics account and go to Reports > Realtime. Then visit your Squarespace site in another browser tab. If you see yourself as an active user in the Realtime report, the tracking is working. If not, double-check your Measurement ID and make sure you clicked Save in Squarespace settings.
Keep Reading

* Read the rest of the post and open up an offer
Top