HubSpot Forms on Wix guide

Sync HubSpot Forms on Wix to Sheets

HubSpot Forms embed on Wix via Custom HTML or the App Market, connecting submissions to HubSpot CRM with progressive profiling. LeadToSheet adds real-time Google Sheets sync with full page context.

CMS: Wix

HubSpot Forms bring progressive profiling, smart fields, and CRM integration to Wix sites. You can embed them via the Wix App Market or by pasting HubSpot's embed script into a Custom HTML element. While HubSpot CRM stores every submission, exporting individual form entries to Google Sheets requires manual effort or a HubSpot Operations Hub upgrade. LeadToSheet captures each submission at the browser level and writes it to a spreadsheet in real time, providing a lightweight reporting layer without upgrading your HubSpot plan.

Implementation checklist

  1. 1

    Add the LeadToSheet SDK via Wix Custom Code

    Navigate to Settings → Custom Code → Add Custom Code in your Wix dashboard. Paste the script, select All Pages, and choose Body – End. HubSpot forms may render via JavaScript after page load, so the SDK's Body – End placement ensures both scripts coexist properly.

    Wix Custom Code snippet

    <script src="https://cdn.leadtosheet.com/sdk.min.js" data-client="YOUR_CLIENT_KEY"></script>
  2. 2

    Embed a HubSpot form on your Wix page

    Paste HubSpot's form embed code into a Wix HTML embed element, or install the HubSpot integration from the Wix App Market. HubSpot's JavaScript renders the form directly in the page DOM, which the SDK can detect and capture.

    Tip: HubSpot forms render via JavaScript into the page DOM (not an iframe), so the LeadToSheet SDK captures them without needing a webhook fallback.

  3. 3

    Submit a test entry and verify both HubSpot CRM and Google Sheets

    Publish the site, fill out the HubSpot form with test data, and confirm the submission appears in both HubSpot CRM and your connected Google Sheet. Check that progressive profiling fields from returning visitors are also captured.

Customization ideas

  • Track progressive profiling field evolution

    HubSpot's progressive profiling shows different fields to returning visitors. LeadToSheet captures whatever fields are displayed at submission time, so your sheet accumulates a full history of which fields each visitor answered across multiple visits.

  • Correlate HubSpot deal stages with form submission data

    Export HubSpot deal data and merge it with your LeadToSheet Google Sheet by email address. This creates a single view from first form submission through deal close, combining marketing attribution with sales pipeline data.

  • Build a lightweight HubSpot dashboard in Sheets

    For teams that need quick reporting without HubSpot's paid analytics dashboards, use Google Sheets pivot tables on your LeadToSheet data to visualize form submissions by page, campaign, and date.

Troubleshooting

  • HubSpot form embed script not executing on Wix

    Wix HTML embed elements can sometimes delay external script execution. If the HubSpot form does not render, try placing the HubSpot embed code in a Custom Code entry (Settings → Custom Code) targeting specific pages, in addition to the form's HTML element placement.

  • SDK loads before HubSpot form renders

    HubSpot forms render asynchronously via JavaScript. The LeadToSheet SDK monitors the DOM for dynamically added forms, so it will detect the HubSpot form even if it renders after initial page load. If submissions are still not captured, check the browser console for JavaScript errors.

  • Custom Code not running in Wix Editor preview

    The Wix Editor preview does not execute scripts added via Custom Code. Both the HubSpot embed and LeadToSheet SDK must be tested on the published live site. Publish and verify on the live URL.

Frequently asked questions

HubSpot CRM already stores form submissions. Why add LeadToSheet?
HubSpot CRM stores submissions but accessing them in spreadsheet format requires manual exports or an Operations Hub subscription. LeadToSheet gives you automatic, real-time Google Sheets sync with no HubSpot plan upgrade required.
Does LeadToSheet capture HubSpot's smart field and progressive profiling data?
Yes. LeadToSheet captures whatever fields are visible and submitted in the form at the time of submission. Smart fields and progressive profiling fields that appear for a given visitor are all included.
Can I use the same LeadToSheet SDK for HubSpot forms and native Wix Forms?
Yes. One SDK snippet in Wix Custom Code captures all form submissions across your site, regardless of whether they originate from HubSpot embeds, native Wix Forms, or other form tools.