Integrate the Leadsourcing tracking script via Code Injection to unlock advanced visitor identification and smarter AI-powered lead generation features on your Squarespace site.
Requirements
Admin or owner access to your Squarespace site.
Your complete Leadsourcing tracking script copied from the Script section in your dashboard.
A Squarespace plan that supports Code Injection: Core, Plus, Advanced, Business, Commerce Basic, or Commerce Advanced plans.
Step 1: Log In to Squarespace
Sign in to your Squarespace account.
Go to the website you want to edit.
Step 2: Access Code Injection Settings
From the left sidebar, click Settings or Website.
Scroll to Advanced.
Select Code Injection.
Step 3: Paste the Leadsourcing Script
In the Header field, paste your entire Leadsourcing tracking script.
Ensure you include
<script>
...</script>
tags.This ensures the script loads site-wide.
Step 4: Save Your Changes
Click Save at the top or bottom of the page to apply changes.
Verification & Next Steps
Open your website in a private/incognito window to confirm successful script installation.
Check your Leadsourcing dashboard for new tracking data or visitor identification activity.
If updates do not appear, wait a few minutes or clear your browser cache.
Tips & Best Practices
Only use one global tracking script in the Header to avoid duplicate tracking.
Use clear, descriptive code comments in your injected script for future reference.
If you use custom site templates or third-party themes, verify script compatibility after publishing.
Contact support if you need assistance with Squarespace Code Injection or troubleshooting your Leadsourcing integration. With setup complete, you can now leverage actionable visitor insights and AI-powered lead generation from your Squarespace website.