Advanced Squarespace Form Tracking (Form Listener + Data Layer) | GA4 & Google Ads via GTM

Introduction

Advanced Squarespace form tracking with Google Tag Manager (GTM) requires a custom Form Listener and a properly structured Data Layer, since native Squarespace triggers often fail to capture AJAX-based form submissions consistently.

This guide delivers a structured, step-by-step framework for deploying advanced Squarespace form tracking for GA4 and Google Ads through Google Tag Manager. With this implementation in place, you will be able to:

⤇ Advanced Squarespace form event tracking
⤇ Structured GTM-based tracking architecture for Squarespace
⤇ Accurate and dependable Squarespace conversion tracking
⤇ Squarespace GA4 form tracking via GTM
⤇ Squarespace Google Ads conversion tracking setup
⤇ Google Ads Enhanced Conversions implementation
⤇ Form submission data will be transmitted to both GA4 and Google Ads for precise attribution and reporting.

Prerequisites 

Before starting, ensure you have:

✔ Squarespace website with active form
✔ Google Tag Manager installed
✔ Custom Form Listener script implemented
✔ Google Ads conversion action created
✔ GA4 property configured

📞 Need Help?

✅ Hire Me for SetupWhatsApp Me
✅ Book a ConsultationSchedule a Call

Step-by-Step Implementation 

PART 1 – Verify Squarespace GTM Tracking

Step 1: Confirm Google Tag Manager Installation

Open your Squarespace page.
Open GTM → Click Preview → Connect site.
Confirm Preview is connected.

GTM Preview Connected

Step 2: Validate Squarespace Form Listener

Submit the form.
Open GTM Preview → Data Layer tab.
Confirm custom event: lead appears.

Data Layer

 

PART 2 – Configure Squarespace Conversion Tracking Trigger

Step 3: Create Custom Event Trigger

Create a new trigger.
Trigger Type: Custom Event
Event Name: lead
Save

Custom Event Trigger

Step 4: Create Data Layer Variables

Create new variable:

Variable Type: Data Layer Variable
Name: hashed_email
Save

Create additional variables if required:

first_name
last_name
email_address

Data Layer Varibales

PART 3 – Squarespace Google Ads Conversion Tracking

Step 5: Create Conversion Action in Google Ads

Inside Google Ads:

Create a new conversion action
Conversion Goal: Squarespace Form Submission
Enable Google Ads Enhanced Conversions
Click Save
Then copy the following details:
• Conversion ID
• Conversion Label

Step 6: Create Conversion ID Variable in GTM

Create a Constant Variable
Name: Google Ads Conversion ID
Value: AW-XXXXXXXX
Click Save

Step 7: Configure Required Tags

A) Google Tag (Config)

Create a new tag
Tag Type: Google Tag
Enter Conversion ID
Trigger: All Pages
Save

B) Conversion Linker

Create a new tag
Tag Type: Conversion Linker
Trigger: All Pages
Save

C) Google Ads Conversion Tracking

Create a new tag
Tag Type: Google Ads Conversion Tracking
Conversion ID: {{Google Ads Conversion ID}}
Conversion Label: From Google Ads
Trigger: lead
Enable Enhanced Conversions
Add User Provided Data → Email: {{hashed_email}}
Save

Google Ads Conversion Tag

PART 4 – Squarespace GA4 Form Tracking GTM Setup

Step 8: Create GA4 Measurement ID Variable

Create a Constant Variable
Name: GA4 Measurement ID
Value: G-XXXXXXXX
Click Save

Step 9: Create GA4 Config Tag

Create a new tag
Tag Type: Google Tag
Measurement ID: {{GA4 Measurement ID}}
Send Page View: True
Trigger: All Pages
Save

GA4 Config

Step 10: Create GA4 generate_lead Event

Create a new tag
Tag Type: GA4 Event
Measurement ID: {{GA4 Measurement ID}}
Event Name: generate_lead
Trigger: lead
Save

GA4 Lead Event

Testing Squarespace Form Tracking Using GTM

⤇ Open GTM Preview
⤇ Open GA4 DebugView
⤇ Reload the page
⤇ Submit the form

Confirm the following events fire correctly:
⤇ Lead event triggers
⤇ Google Ads conversion tag fires
⤇ generate_lead event is received in GA4

GA4 DebugView

Final Publish Step

Publish GTM container.

Your advanced squarespace form tracking using gtm is now fully active for Squarespace conversion tracking in GA4 and Google Ads.

Professional Conclusion

By implementing this setup, you now have:
Advanced Squarespace form tracking
Reliable Squarespace GTM tracking
Accurate Squarespace conversion tracking
Google Ads Enhanced Conversions
Professional Squarespace GA4 form tracking via GTM
This configuration ensures scalable, consistent, and accurate lead tracking for Squarespace websites.

Need expert help with Squarespace form tracking using GTM?

✅ Hire Me for SetupWhatsApp Me
✅ Book a ConsultationSchedule a Call

Author

Md Zubayer Islam
Marketing Data Analyst

LinkedIn
Facebook
Twitter

Leave a Comment

Your email address will not be published. Required fields are marked *