Website integration
Squarespace attribution for every form block and enquiry
Paste one snippet into Squarespace's Code Injection and every enquiry from your site carries its source, whether the visitor found you on Google, a Pinterest board, a wedding directory, a newsletter, or an ad, even when they clicked around before writing in.
Free 7-day trial. No credit card required.
- Install
- Code Injection, Header
- Form blocks
- Captured, no per-form setup
- Multi-page visits
- Original source kept
- Embeds
- Bookings and chat via integrations
Can SourceLoop track where Squarespace leads come from?
Yes. SourceLoop adds marketing attribution to Squarespace with a first-party script placed in Settings, Advanced, Code Injection, Header, which loads on every page of the site. Visitors are logged with their channel, campaign tags, entry page, and route through the site, and that log is attached to leads from form blocks on published pages, so a visitor who browses several pages before submitting keeps their original source. Booking and chat widgets plug in via their dedicated SourceLoop integrations, and every lead is ready for your CRM and for reporting to Google Ads, Meta, ChatGPT Ads, and Microsoft Ads.
Updated November 2026
The gap
Where Squarespace's lead data runs out
-
Form submissions arrive without a campaign
Squarespace emails or stores the answers, but not reliably which campaign or post sent the person, especially if they arrived several pages earlier.
-
Clicking around resets the source
A common forum complaint: the visitor lands from an ad, explores the portfolio, then submits, and the original source is gone.
-
Traffic sources stop at visits
Squarespace's traffic reports show where visits come from in aggregate, not which enquiries or bookings each channel produced.
What you get
What a Squarespace site gains
-
Source on every form block
Contact, quote, and newsletter form blocks on published pages are captured with their channel, campaign, and page path.
-
The first visit isn't forgotten
The source is stored first-party when the visitor lands, so browsing a portfolio or gallery before enquiring doesn't erase it.
-
Bookings and chats alongside
Calendly, Cal.com, and chat widgets on your pages are linked by their own SourceLoop integrations, drawing on one shared record of the visit.
-
Enquiries tied to bookings and revenue
Leads can be synced to your CRM, then measured as revenue and ROAS per source with a first-touch or multi-touch attribution model.
The data
Kept with each Squarespace enquiry
Leads from your Squarespace site appear in Contacts with these values next to the form answers.
| Field | Example | Written to |
|---|---|---|
| Discovery and enquiry channel | Organic Social · pinterest | Lead |
| UTM values | utm_source=directory, utm_medium=referral | Lead |
| Landing page | /portfolio/weddings | Lead |
| Page path before the enquiry | /portfolio → /pricing → /contact | Journey |
| Form block answers | Name, email, event date | Lead |
Compared
Squarespace reports vs hidden-field scripts vs SourceLoop
Hidden-field scripts means adding custom code that copies URL parameters into hidden form block fields, which only works on the page the visitor landed on.
| Capability | Squarespace reports | Hidden-field scripts | SourceLoop |
|---|---|---|---|
| Campaign on each submission | No Traffic totals | Partly Landing page only | Yes Kept across pages |
| Setup per form block | Yes None | No Code per form | Yes None |
| Path through the site | Partly Visit totals | No | Yes Every page, per enquiry |
| Enquiries reported to ad platforms | No | No | Yes Server to server |
Why it holds up
Made for portfolios, studios, and small businesses
One Code Injection snippet covers the whole site, history is stored first-party under your Squarespace domain, and conversions reach the ad platforms server to server.
Visitor history on your Squarespace domain
Enquiries reported to ads server-side
Galleries and pages viewed before enquiring
Bookings and revenue by channel
How it works
Install on Squarespace in three steps
Install steps for every platform are in Install the SourceLoop tracking pixel.
-
<script async src="https://t.sourceloop.ai/tracking-v3.js"></script>
01Copy your snippet
Copy the snippet shown on SourceLoop's Tracking code page.
-
Code Injection
- Header SourceLoop snippet
- Footer Unchanged
02Paste into Code Injection
In Squarespace, open Settings, Advanced, Code Injection, paste it into Header, and save.
-
- Channel Organic Social
- Source pinterest
- Pages 5
03Send a test enquiry
Fill in a form block from a private window on a URL ending ?utm_source=test, then check Contacts.
Conversion sync
Report Squarespace enquiries to ad platforms
Squarespace enquiries, all of them or just those rated Good, can be reported to Microsoft Ads, Google Ads, ChatGPT Ads, and Meta as offline conversions, so bidding favours people who actually get in touch.
- Every enquiry
- Good leads, with value
- Enquiries that book or buy
Used by 750+ marketing teams, agencies, and SaaS companies
FAQ
Squarespace attribution FAQ
Which Squarespace setting do I use?
Settings, Advanced, Code Injection, in the Header field. It then loads on every page of your site.
Do I need to change my form blocks?
No. Form blocks on published pages are captured without any per-form setup, as long as they ask for an email.
What if a visitor clicks through several pages before submitting?
Their original source is stored when they first land, so browsing your portfolio or pricing before enquiring doesn't lose it.
Does it work with Calendly or Cal.com embeds?
Scheduling embeds connect through SourceLoop's own integrations for those tools, using the same visitor history.
What about cookie banners?
A consent banner that holds scripts back will hold SourceLoop too, so classify it as analytics or enable cookieless mode. Google Consent Mode is respected.