Skip to content

HubSpot integration: every website lead in your CRM

A HubSpot integration sends every lead from your website into HubSpot with its source and the pages it read: forms, meeting bookings and newsletter sign-ups. Below: how the connection works, HubSpot forms or your own, what data flows, what it needs and what it costs.

In short

  • Every form, booking and sign-up on your site lands in HubSpot as a contact.
  • Each contact arrives with its source and the pages it read.
  • HubSpot’s tracking code loads only after the visitor accepts cookies.
  • Included in every website we build, and tested with real submissions before launch.

How the connection works

  1. A visitor gets in touch

    They fill in a form, book a meeting or sign up for the newsletter on your site.

  2. The site sends it to HubSpot

    The form posts to HubSpot’s API with the answers, the page and, after consent, the tracking cookie.

  3. HubSpot creates the contact

    A new or updated contact, with its original source, the pages it viewed and every answer.

A lead is worth more when you know what it read

With tracking and forms connected, sales sees the search, campaign or page behind each lead before the first call.

HubSpot records each contact’s original source, such as organic search, paid search or a referral, and the pages they viewed. That only links up when the form submission carries the visitor’s tracking cookie, so we send it with every submission.

We add custom properties for what your team sorts on: the service a lead asked about, their market and language, the document they downloaded. Lists, reports and workflows in HubSpot then run on clean fields.

What we connect

Every way a buyer gets in touch ends up in HubSpot, where your team already works.

  • Contact and quote forms

    Each request becomes a contact, with every answer in its own property.

  • Meeting bookings

    HubSpot meeting links on your site, or a booking flow we build, put the call on the contact.

  • Newsletter sign-ups

    Sign-ups join the right list, with the visitor’s consent stored on the contact.

  • Document downloads

    Guides and info documents ask for an email, and each download becomes a lead.

  • Source and pages read

    After consent, the tracking code ties page views and the original source to the contact.

  • Language and market

    Each lead carries the language and market of the page it came from.

How do you connect a website to HubSpot?

Install HubSpot’s tracking code on every page, send each form to HubSpot, add the custom properties your team needs, then test every route with a real submission.

  1. Install the tracking code

    HubSpot’s code is unique to your account and goes before the closing body tag on every page, loaded after cookie consent.

  2. Connect the forms

    Embed HubSpot forms, or post your own forms to HubSpot’s API with the page and the tracking cookie.

  3. Add custom properties

    Fields such as service, market and language, so every lead lands sorted.

  4. Test every route

    A real submission through each form, in every language, checked in HubSpot for source and fields.

Should you use HubSpot forms or your own forms?

Use HubSpot forms when marketers want to change forms in HubSpot themselves. Use your own forms posting to HubSpot’s API when the form must match your site, load fast and work in every language.

HubSpot formsYour own forms and the API
How it worksA HubSpot script draws the form on your pageYour site’s form posts to HubSpot’s API
DesignHubSpot’s styling, adjusted with CSSMatches your site exactly
Page speedLoads an extra scriptPart of the page itself
Without JavaScriptThe form does not appearWorks, and keeps what was typed on an error
Changing fieldsMarketers edit them in HubSpotA developer changes the form
Source and pages readRecorded automaticallyRecorded when the tracking cookie is sent along

HubSpot’s tracking code can also capture submissions from forms HubSpot did not build, as its install guide notes. Posting each form to the API gives you control over which answer lands in which property, so we build it that way.

Does HubSpot work with any CMS?

Yes. The tracking code and forms work on any website. WordPress and Webflow have official HubSpot plugins and apps, and a custom Next.js site connects through HubSpot’s API.

Your site runs onHow HubSpot connects
WordPressHubSpot’s official WordPress plugin, or the embed codes
WebflowWebflow’s HubSpot app, or the embed codes
Next.js with SanityForms post to HubSpot’s API; tracking code after consent
HubSpot Content HubBuilt in, since HubSpot hosts the site

You only need HubSpot’s own CMS, Content Hub, if you want HubSpot to host the website. Every site we build is a Next.js front end with Sanity as the CMS, and HubSpot connects to it like any other tool your team uses.

Is a HubSpot integration GDPR compliant?

It can be. Load the tracking code only after the visitor accepts cookies, ask for email consent separately, and name HubSpot in your privacy policy.

  • Cookie consent first. HubSpot’s tracking code sets cookies, so it waits for the visitor’s yes. Forms work either way.
  • Separate email consent. A newsletter box the visitor ticks themselves, stored on the contact.
  • Only the fields you use. Ask for what your sales team needs to follow up, and nothing it never reads.
  • Say where data goes. Your privacy policy names HubSpot as the place leads are stored.

Leads that arrive with context

leads in 90 days across WeForward’s two sites
155
of WeForward’s leads started with a document download
69%
leads for AnTARES in its first 30 days
26
of visitors landing on AnTARES’s sponsors page got in touch
38%

WeForward, measured from 27 July to 24 October 2026. AnTARES, measured from 25 September to 25 October 2026; sponsors page 5 of 13 visitors.

Questions about HubSpot integration

What are HubSpot forms?

HubSpot forms are forms you build in HubSpot and embed on your website with a script. Each submission creates or updates a contact and records the page it came from. Forms built into your own site can do the same by posting to HubSpot’s API.

Do you need a paid HubSpot plan?

The free CRM is enough to receive every lead with its source and the pages it read. Paid hubs, such as Marketing Hub and Sales Hub, add workflows that assign, score and follow up leads automatically, plus more marketing email and reporting.

Which data can you send to HubSpot?

Every field your form asks, plus the page address, the page title and, after consent, the visitor’s tracking cookie. Custom properties hold what HubSpot lacks by default, such as the service of interest, the market or the language.

Can meeting bookings go into HubSpot?

Yes. Embed HubSpot’s meetings tool, or use a booking flow on your site that reads your calendars and creates the contact in HubSpot. Either way the call shows on the contact’s record.

What if we use another CRM?

The same setup works for Salesforce, Pipedrive and other CRMs with an API: each form posts to the CRM with the lead’s source and the pages it read.

What does a HubSpot integration cost?

It is included in every website we build, never itemised. Websites start at €3,500. HubSpot bills its own subscription if you use a paid hub.