Squarespace makes beautiful websites, and many service businesses, studios and consultants run their lead generation on it. The problem is that a Squarespace form submission is invisible to your ad platforms by default. The form shows a thank-you message, but GA4, Google Ads and Meta never hear about it. That means campaigns optimise for clicks instead of leads. This guide shows three ways to fix it, and which one I recommend.
Why doesn't Squarespace track form submissions by default?
Squarespace does not send a conversion event when a form is submitted. Its built-in analytics and the GA4 connection send page views, but the form block simply replaces itself with a message. There is no page load and no event that GA4 or an ad platform can count.
To track leads, you need to create a signal yourself: either a page view on a dedicated thank-you page, or an event pushed to the data layer when the form succeeds.
What do you need before you start?
- A Squarespace plan that allows code injection (custom code), so you can add Google Tag Manager.
- A Google Tag Manager container, installed through Settings → Advanced → Code Injection (header for the main snippet).
- Your GA4 property, Google Ads conversion action and Meta Pixel ready to receive events.
If you connected GA4 through Squarespace's own setting and also add GA4 in GTM, remove one of them, or every page view will be counted twice.
Method 1: Redirect to a thank-you page
The simplest reliable method is to send visitors to a thank-you page after they submit.
- Create a page such as
/thank-you, hide it from navigation and set it to not be indexed. - Open the form block → Post-Submit → choose Redirect, and enter
/thank-you. - In GTM, create a Page View trigger where Page Path equals
/thank-you. - Fire a GA4 event tag named
generate_lead, a Google Ads conversion tag and a MetaLeadevent on that trigger. - Mark
generate_leadas a key event in GA4.
Pros: easy, no code, works for every form. Cons: a reload or bookmark of the thank-you page counts again, and you cannot easily tell which form was used if several redirect to the same page. Use one thank-you page per form if that matters.
Method 2: Push an event from the post-submit HTML
The method I prefer keeps visitors on the page and sends a clean event.
- Open the form block → Post-Submit → keep the message option, and use the HTML/code area for the post-submit content.
- Add a short script that pushes an event to the data layer:
<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: 'generate_lead', form_name: 'contact_page' });
</script>
- In GTM, create a Custom Event trigger for
generate_lead. - Send the GA4 event, Google Ads conversion and Meta
Leadevent on that trigger. - Test that the script only runs after a successful submission, not when the form shows an error.
Pros: fires only on success, no extra page, and you can pass the form name. Cons: it depends on the post-submit content area supporting your script on your plan, so always test it.
Method 3: Count submit-button clicks (not recommended)
Some guides count clicks on the submit button. I avoid it, because a click also fires when required fields are empty or the email is invalid. Google Ads and Meta then learn from attempts, not leads. Use it only as a temporary signal while one of the methods above is set up.
Which method should you choose?
| Thank-you redirect | Post-submit event | Button click | |
|---|---|---|---|
| Fires only on success | Yes | Yes | No |
| Code needed | No | A few lines | No |
| Can pass form name | Only with separate pages | Yes | Limited |
| Risk of double counting | Page reloads | Low | High |
| My recommendation | Good | Best | Avoid |
How do you send Squarespace leads to Google Ads and Meta?
Once generate_lead fires, the ad platforms are straightforward:
- Google Ads: create a "Submit lead form" conversion action and add a Conversion Tracking tag in GTM. Add enhanced conversions if the form collects email or phone, so more leads are matched to clicks. For calls and WhatsApp clicks on the same site, see tracking WhatsApp clicks, calls and forms in GA4.
- Meta: fire a
Leadevent from the Pixel. For better matching and fewer lost leads, send the same event through the Conversions API with a sharedevent_id, as explained in Meta Pixel vs Conversion API.
How do you test Squarespace form tracking?
- Open GTM Preview mode on your live Squarespace URL.
- Submit the form once with valid details and once with a missing field.
- Confirm
generate_leadfires only on the valid submission. - Check the event in GA4 DebugView and in Meta Events Manager → Test events.
- After a few days, compare the conversions in GA4 and Google Ads with the submissions in Squarespace's form storage or your email inbox.
You can also scan your site with the free Tracking Checker to confirm GTM, GA4 and your pixels load as expected.
Final thoughts
Squarespace form tracking is one small setup that changes how your ads perform, because campaigns finally see the leads they bring. Start with a thank-you page or a post-submit event, test it with a real submission, and mark only one event as the conversion. My Squarespace conversion tracking page and conversion tracking service cover the full setup if you want it done for you.