Forms and tracking setup

Squarespace HubSpot Integration

Add HubSpot forms to Squarespace, configure site tracking and verify that contacts reach the CRM. Follow the setup steps first, then decide whether keeping Squarespace meets your website needs.

How to add a HubSpot form to Squarespace

Use a HubSpot form when submissions should go directly into HubSpot while the website stays in Squarespace. A Squarespace form block and an embedded HubSpot form are different capture paths.

1. Prepare the form

Create the fields and success message in HubSpot. Add your external domain to HubSpot tracking settings, then copy the current embed code from the form’s publishing options.

2. Place the embed

In the Squarespace page editor, add a Code block at the form location. Select HTML, paste the full HubSpot embed snippet and leave Display Source disabled. Confirm your plan supports JavaScript in code blocks.

3. Publish and test

Save the page and test the public URL while logged out of Squarespace. Submit a unique test email, check the HubSpot contact fields and confirm the thank-you message works on mobile.

For block settings and plan availability, see Squarespace’s Code blocks guide. Copy the snippet from your own HubSpot account; do not substitute a portal ID from a tutorial.

Add site tracking separately from the form

The form receives submissions; the tracking snippet serves a separate analytics role. If your plan supports Code Injection, place HubSpot’s tracking snippet in the site-wide footer field, following Squarespace’s injection instructions. Check that the snippet is not also loaded through another tool. Verify page views on the published domain with the intended consent choice.

Keeping a native Squarespace form

If the original form must stay, choose and test a supported connector or a custom submission route. Define the trigger, destination properties, handling of repeat submissions and failure notifications. Do not assume adding a tracking script makes every native form compatible.

Troubleshoot the complete lead journey

Form missing or clipped

Check the published page, embed placement, container dimensions and browser errors. Test without an extension blocking scripts and repeat on a mobile device.

Contact or fields missing

Verify the account, form and property mapping. Check spam submissions and connector logs. Test one new contact and one repeat submission separately.

Visits or follow-up missing

Check tracking and consent independently from contact capture. Confirm the intended workflow or notification is available in your subscription and enabled for the tested event.

Use the official HubSpot external form guide for embed and domain requirements and the tracking installation guide for analytics checks.

When Squarespace HubSpot integration is enough

Forms and contacts

Integration can work when the goal is sending form submissions or contact data into HubSpot without changing the website CMS.

Tracking and campaigns

HubSpot tracking can support campaign visibility while content editing remains in Squarespace.

Low website complexity

If the site is small and easy to manage, keeping Squarespace and integrating HubSpot can be a reasonable interim step.

When to migrate Squarespace to HubSpot instead

A Squarespace to HubSpot migration is usually the better choice when the team wants HubSpot-native pages, forms, CRM reporting, redirects, and launch QA in one managed setup.

Need help scoping the website handoff?

Share your current site and form requirements through the contact form, or explore the migration resources before deciding on a CMS move.