Skip to main content

How to Add Leadsourcing’s Script to Squarespace

Step by Step guide to enabling Leadsourcing on your Squarespace website.

Leadsourcing Team avatar
Written by Leadsourcing Team
Updated over 2 weeks ago

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

  1. Sign in to your Squarespace account.

  2. Go to the website you want to edit.

Step 2: Access Code Injection Settings

  1. From the left sidebar, click Settings or Website.

  2. Scroll to Advanced.

  3. Select Code Injection.

Step 3: Paste the Leadsourcing Script

  1. 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

  1. 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.

Did this answer your question?