How to set up conversion tracking on Squarespace
Squarespace connects to Google Analytics 4 with a built-in integration that needs no script code. You enter a measurement ID and Squarespace does the tagging, including order data for stores. Choosing the conversion happens afterwards in Google Analytics.
Before you start
- A Google Analytics 4 property and its measurement ID, which starts with G-
- Access to the Developer tools panel of the Squarespace site
- The Editor role or above on the Analytics property, or Marketer or above if you will create a new event as a key event
Steps
- Enter the measurement IDOpen the Developer tools panel and click External API keys. In the [Google Analytics account number] field, enter your measurement ID and click Save.If the field holds an ID from an older version of Google Analytics, replace it with the GA4 one.
- Decide how the cookie banner treats AnalyticsOpen the Cookies and Data Privacy panel. With Cookie banner and the Manage cookies button switched on, Squarespace does not place Google Analytics cookies until a visitor consents. Squarespace can pass those choices to Google through consent mode.Set this before you test, because it decides whether your own visit is recorded.
- Choose the conversionFor a store, Squarespace sends order data to Google Analytics for every order: order ID, product name, SKU, purchase total including shipping, store name, and the customer’s city, region and country.For a site without a store, the conversion is usually a form submit or a page people reach afterwards. Under Data streams in Analytics’ Admin, a web stream’s Enhanced measurement settings include form_submit.
- Mark it as a key eventGo to Admin in Google Analytics and open Events, which sits under Data display. If the event is listed in the Recent events tab, click the star icon beside it.For a page-based conversion, click + Create event, name it, turn on Mark as key event, choose Create without code, select page_view in the Event name dropdown and enter the page’s URL.
- Run a test visitOpen the live site, accept cookies if your banner asks, and complete the conversion.
Check it worked
- Open Reports, then Realtime, in Google Analytics. Your visit should register, and the conversion should show in the Key events by Event name card.
- In Admin, the Key events tab on the Events page lists what is currently marked.
What goes wrong
- Reports are still empty an hour later
- Squarespace says statistics can take up to 24 hours to appear in Google Analytics. Use the Realtime report to confirm the connection the same day.
- Your own visits inflate the numbers
- Squarespace’s analytics leave out your visits while you are logged in, and Google Analytics counts them. Squarespace suggests a filter in Google Analytics that excludes your IP address.
- Only the landing page is recorded on a 7.0 site
- With Ajax loading on, Google Analytics logs the first page of a visit and misses the rest unless the visitor refreshes. Disable Ajax loading.
- Google Analytics shows far fewer visitors than Squarespace
- Visitors who decline analytics cookies are not tracked by Google Analytics, while Squarespace’s own count can rise in that case. Expect the gap once the cookie banner restricts non-essential cookies.
Checked on 2026-11-11 against Squarespace Help Center: Connect Google Analytics to your site, Analytics Help: Mark events as key events, Analytics Help: Create or modify key events, Analytics Help: Enhanced measurement events, Analytics Help: Realtime report.
Increase conversions on your Squarespace site by 20%
Dynamite personalizes the page for every visitor. Dynamite takes one primary conversion goal from you (a click, a form submit, reaching a page, or an event your code sends) and measures lift against it. Deciding which event that is for your Squarespace site comes first.
Dynamite for SquarespaceQuestions
Do I need to paste the Google tag into code injection?
No. Squarespace’s built-in integration works from the measurement ID alone, without script code.
Can I use Google Tag Manager on Squarespace?
You can use code-based setups such as Google Tag Manager. Squarespace says it can’t help set them up or troubleshoot them.
Are conversions and key events the same thing?
In Google Analytics 4, the events you mark as important are called key events. Google uses conversions for the actions it builds from key events for Google Ads.