1. Prepare the destination
Set the fields, contact properties and success message in HubSpot. Add the external domain in tracking settings and copy the embed code from the form’s publishing options.
Embed HubSpot forms on Wix or plan a native form connection, then test contact fields, automation and tracking. Follow the setup guide while keeping your website in Wix.
Form setup
For direct HubSpot lead capture, embed a HubSpot form in the Wix page. If you need to retain a Wix form, define a separate connector or submission integration rather than treating the two forms as interchangeable.
Set the fields, contact properties and success message in HubSpot. Add the external domain in tracking settings and copy the embed code from the form’s publishing options.
In Wix Editor, use Add Elements, Embed Code and Embed HTML. Paste the HubSpot form snippet and adjust the embed container. Dashboard Custom Code is for invisible snippets and is not the place to display the form.
Confirm the form loads over HTTPS, its fields remain visible on mobile and a test submission reaches the intended HubSpot account. Test the success message or redirect inside the actual embedded frame.
Wix HTML embeds use iframes, so size and navigation behavior need explicit checks. See Wix’s embedding instructions. Test the public page rather than relying on the editor preview.
Wix automation
If the native Wix form must stay, select a connector or custom integration that supports its submission event. Map email and the required contact properties, define what happens for an existing contact, and test failures and retries. Confirm whether the destination action records a form submission or only updates a contact; these are different outcomes for reporting and follow-up.
A snippet inside a form iframe does not establish tracking across the Wix site. Use a supported site-level installation route and verify it on a published site with a connected domain. Review Wix’s Custom Code guidance and HubSpot’s tracking instructions; Wix notes that some third-party snippets can be affected by frontend security restrictions.
Integration QA
Check the published page, embed placement, container dimensions and browser errors. Test without an extension blocking scripts and repeat on a mobile device.
Verify the account, form and property mapping. Check spam submissions and connector logs. Test one new contact and one repeat submission separately.
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.
Decision guide
Integration can be enough when Wix forms only need to send contacts into HubSpot and trigger simple follow-up.
HubSpot tracking can help connect website visits and submissions to contacts while the public site stays in Wix.
If the Wix site is small, easy to maintain, and not creating SEO or editing problems, integration may be the lighter path.
Migration trigger
A Wix to HubSpot migration makes more sense when the team needs cleaner templates, stronger CRM alignment, SEO-safe redirects, and easier marketing ownership inside HubSpot CMS.
Share your current site and form requirements through the contact form, or explore the migration resources before deciding on a CMS move.