HubSpot with Astro
HubSpot wants to own the form. The site wants to own the design. The right setup depends on the page: sometimes an embedded HubSpot form is best, and sometimes a form of your own should post to HubSpot behind the scenes.
HubSpot integrations like this usually take 2–4 days
Which form owns the submission.
A HubSpot form, embedded
- HubSpot owns the form and its supported behavior
- Progressive profiling and smart fields
- A change made in HubSpot reaches the site without republishing it
- Styling control goes with it, unless it is a developer embed
Right when the form's own behavior is the point
Your own form, posted to HubSpot
- The site owns the markup and the interaction
- The design and the validation stay native
- Values sent behind the scenes, with the attribution written deliberately
- Bounded by the field types the chosen route supports
Right when the design is the point
How the handoff works.
- 01
Submit
The form posts
- 02
Contact
New contact created, or an existing one updated
- 03
Attribution
Source and campaign checked
Key handoff
- 04
Workflow
Configured workflows triggered
- 05
Verify
Contact details and routing confirmed
Why this is the key handoff
A success state only proves the browser thinks the form worked. I check that the contact arrived carrying its first touch and campaign, and that the workflow meant to handle it actually ran, because a workflow cannot add back what was never captured.
Three things that commonly go wrong.
- 01
Hidden fields on a scripted form arrive empty
Where a framework controls the form, values written into the DOM can disagree with what that framework thinks is there, and HubSpot receives its version. The contact is created, the campaign arrives blank, and every visible part of the path succeeded, which is why the check is on the saved record.
- 02
Embedded forms can need extra styling
A HubSpot form embed carries HubSpot's markup. Making it match the site means overriding styles you do not control, which is fine until they change them.
- 03
The form and the visitor tracking are separate installs
One creates contacts, the other supplies the page views and attribution behind them, so each needs its own check. A contact can arrive successfully while its browsing history or attribution stays incomplete, and the tracking route depends on a script that a blocker or a conflict can stop from loading.
What is included.
-
Site forms creating or updating HubSpot contacts and deals
-
HubSpot forms embedded where progressive profiling or smart form behavior matters
-
Lifecycle stage, lead source, campaign and custom properties
-
HubSpot tracking code on the site's domain
-
Conversion events and form success behavior
Wire up something else?
-
Salesforce with Astro
CRM · typically 3–5 days
Learn more → -
Pipedrive with Astro
CRM · typically 2–4 days
Learn more → -
Google Analytics with Astro
Analytics · typically 2–4 days
Learn more → -
Stripe with Astro
Payments · typically 1–2 weeks
Learn more → -
Segment with Astro
Data · typically 3–6 days
Learn more → -
Slack with Astro
Comms · typically 1–2 days
Learn more →
Reach out and see if we are a good fit.
Currently booking two to four weeks out.