What You Need Before You Start
Before you implement Google Analytics on Squarespace, you need two things: a Google account and access to your Squarespace site as an administrator. If you already have a Google account, you are ready. If your Squarespace site is managed by someone else, confirm you have administrator-level permissions before starting - you will need them to access the analytics settings panel.
You do not need to install any plugins, add custom code, or hire a developer. Squarespace has a native GA4 integration that handles tracking automatically once your Measurement ID is connected. What you get from that connection is real-time visitor data, traffic source reporting, page performance metrics, and the foundation for conversion tracking and goal setup. If you had any doubts about whether Google Analytics works with Squarespace, this guide will clear them up.
Step 1: Create a Google Analytics 4 Property
Go to analytics.google.com and sign in with your Google account. If you have never used Google Analytics before, you will be prompted to create an account. Give it a name - your business name works fine - and proceed to the property creation step.
When creating the property, select "Web" as the platform. Enter your Squarespace site's URL and give the property a descriptive name so you can identify it easily later. Set your time zone and currency to match your location, then click "Create Stream." Google will generate a Measurement ID for this property - it starts with "G-" followed by a string of letters and numbers. This is what you will use to connect GA4 to Squarespace.
If you already have an existing Universal Analytics (UA) property, note that Google has deprecated UA and migrated all properties to GA4. You will need to use the GA4 Measurement ID, not the old UA tracking ID, for Squarespace analytics tracking to work correctly.
Step 2: Find Your GA4 Measurement ID
After creating your data stream, your Measurement ID appears at the top right of the stream details panel. It looks like this: G-XXXXXXXXXX. Copy it exactly - this string is case-sensitive and any typo will break your tracking.
If you need to find it later, navigate to Admin in your Google Analytics account, select your property, then go to Data Streams under the Property column. Click your web stream and the Measurement ID will be displayed at the top of that screen. Keep this tab open or paste the ID somewhere temporary while you switch to Squarespace.
Step 3: Add Google Analytics to Squarespace
Log in to your Squarespace account and open the site you want to track. In the left sidebar, go to Settings, then scroll down to the Advanced section and click Analytics. Squarespace displays a list of supported analytics integrations - click on Google Analytics.
Paste your GA4 Measurement ID (the G-XXXXXXXXXX string) into the field labeled "Google Analytics Measurement ID." Do not include any extra spaces before or after the ID. Once pasted, click Save. Squarespace immediately begins sending tracking data to your GA4 property - no further configuration is required for basic pageview tracking.
Note that Squarespace's built-in integration handles pageviews and basic session data automatically. If you want to track specific conversion events - like form submissions, product purchases, or button clicks - you will need to configure those as events within Google Analytics or add custom code via Squarespace's Code Injection feature. For more on adding custom code, see our guide to adding custom CSS to Squarespace as a starting point for working with Squarespace's advanced code settings.
Step 4: Verify That Tracking Is Working
After saving your Measurement ID in Squarespace, open a new browser tab and visit your Squarespace site. Then go back to your Google Analytics account and navigate to Reports, then Realtime. If tracking is configured correctly, you will see yourself appear as an active user on your site within a minute or two.
If no data appears after several minutes, double-check the Measurement ID in Squarespace - make sure there are no typos, extra characters, or leading spaces. Also confirm that you are using a GA4 Measurement ID (starts with G-) and not a Universal Analytics tracking ID (starts with UA-). GA4 IDs and UA IDs are not interchangeable in Squarespace's current analytics panel.
Another common reason tracking fails is browser extensions. Ad blockers and privacy tools often block Google Analytics scripts. Test verification in a private browsing window with extensions disabled, or use a different device entirely. If you see yourself in Realtime, your Squarespace Google Analytics setup is working correctly.
Step 5: Configure Goals and Key Events in GA4
Basic pageview tracking is useful, but GA4 becomes genuinely powerful when you mark specific user actions as Key Events - what earlier Google Analytics versions called Goals. Key Events tell GA4 which actions matter most on your site, so you can measure conversions rather than just traffic volume.
In GA4, go to Admin, then select Events under the Property column. Here you can see all events that GA4 is automatically collecting from your Squarespace site, including page_view, scroll, session_start, and first_visit. To mark an event as a Key Event, click the toggle next to it and enable "Mark as key event." These events will then appear in your conversions reporting.
For Squarespace sites with contact forms, GA4 will automatically track form submissions as a generate_lead event in most configurations. For e-commerce Squarespace sites, purchase events are tracked automatically if you have Squarespace Commerce enabled. If you want to track clicks on specific buttons - like a booking link or a call-to-action - you will need to set up custom event tracking using Google Tag Manager or Squarespace's Code Injection.
Understanding Your Squarespace Analytics Data
Once GA4 is collecting data, the most useful reports for Squarespace site owners are found under Reports in the left navigation. The Acquisition overview shows you where your traffic comes from - organic search, direct, social, referral, or paid. The Engagement overview shows which pages visitors spend the most time on and which ones they leave immediately.
Pay close attention to the Landing Pages report under Engagement. This tells you which pages are your actual entry points from search and social - often different from the pages you assume are most important. Improving the weakest landing pages is usually the highest-ROI activity a Squarespace site owner can do after setting up analytics. Pair this data with the advice in our guide to customizing your Squarespace website to make targeted improvements where they will have the biggest impact.
The User Explorer report shows individual session paths, so you can see exactly how real visitors move through your site. Squarespace design decisions - layout, navigation, content structure - all show up in this data as patterns. If you notice visitors consistently dropping off on a specific page, that is a signal to revisit its structure. Our Squarespace design tips cover the principles that keep visitors engaged and moving forward on your site.
Common Issues With Squarespace Google Analytics Setup
The most common issue is using the wrong ID type. If your tracking is not working, verify that the ID in Squarespace starts with G- and not UA-. Universal Analytics properties are no longer active, and UA tracking IDs will not send data to GA4.
Another frequent problem is duplicate tracking. If you have also added a Google Analytics tag via Squarespace's Code Injection or through Google Tag Manager, you may be sending duplicate pageview events. Check your Tag Manager container and your Code Injection headers to make sure there is only one GA4 tracking implementation active on the site at any time.
Finally, data sampling in GA4 can sometimes make it look like you have less traffic than expected, especially on newer properties with low data volume. Give your GA4 property at least 48 to 72 hours to collect data before drawing conclusions. The Realtime report updates immediately, but standard reports can have a processing delay of up to 24 hours.
Frequently Asked Questions
How do I add Google Analytics to Squarespace?
What is the difference between a GA4 Measurement ID and a Universal Analytics tracking ID?
Why is my Google Analytics not tracking my Squarespace site?
Does Squarespace work with Google Analytics 4?
How long does it take for Google Analytics data to appear after connecting to Squarespace?
Can I track form submissions and button clicks on Squarespace with GA4?
Do I need Google Tag Manager to use Google Analytics on Squarespace?
Start Tracking What Actually Matters
Implementing Google Analytics on Squarespace is not a technical challenge - it is a ten-minute task that pays off every single day after you do it. Once GA4 is connected, you have real visibility into how your site is performing: which pages are pulling traffic, where visitors are leaving, and whether your content is driving the actions that grow your business.
The setup is just the start. The real value comes from actually reading the data, identifying weak spots, and making deliberate improvements. Most Squarespace site owners never get there because they never connect analytics in the first place. Now you have no reason not to.
Build the habit of checking your GA4 reports weekly. Look at your top landing pages, your traffic sources, and your Key Events. Let the data guide your next design change, your next blog post, and your next Squarespace optimization. That feedback loop - data to decision to result - is how the best-performing sites stay ahead.
* Read the rest of the post and open up an offer