Humblytics
  • Overview
    • Introduction to Humblytics
    • Features Overview
    • Frequently Asked Questions
  • How to Get Started
    • Create a New Account
    • Add Humblytics Analytics to a Custom / Self-Hosted Site
    • How to Add Humblytics Analytics to Your Weblow Site
    • How to Add Humblytics Analytics to Your Framer Site
  • Split Testing Overview
    • How Humblytics Split Testing Works - Under the Hood
    • How to Setup a Split Test
    • Creating A/B Page Variants for Split Testing
    • How to Analyze Split Test Data
    • Using the Humblytics A/B Sample‑Size Calculator
    • Deciding How Long to Run an A/B Test
  • How to Track Custom Form Submissions
    • GoHighLevel
    • Tally.so
      • Webflow – How to Track Tally.so Form Submissions
      • Framer – How to Track Tally.so Form Submissions
      • Custom/Self-Hosted – How to Track Tally.so Form Submissions
    • Typeform
      • Webflow – How to Track Typeform Submissions
      • Framer – How to Track Typeform Submissions
      • Custom/Self-Hosted – How to Track Typeform Submissions
    • Cal.com
      • Webflow – How to Track Cal.com Booking Submissions
      • Framer – How to Track Cal.com Booking Submissions
      • Custom/Self-Hosted – How to Track Cal.com Booking Submissions
    • Hubspot
      • Framer – How to Track HubSpot Form Submissions
      • Custom/Self-Hosted – How to Track HubSpot Form Submissions
      • Webflow – How to Track HubSpot Form Submissions
  • How to Track Custom Click Events
    • How to Track Click Events on Custom / Self‑Hosted Site
    • How to Add Custom Event Tracking for Webflow Sites
    • How to Add Custom Event Tracking for Framer Sites
  • Understanding Your Data
    • Understanding Site Traffic
    • Understanding Pages Data
    • Understanding Click Data
    • Understanding Forms Data
    • Understanding Heatmap
    • Understanding Funnels
  • Campaign Tracking with UTM Links
Powered by GitBook
On this page
  • Why track HubSpot forms?
  • Prerequisites
  • Step‑by‑Step: Track HubSpot Submissions in Framer
  • Troubleshooting
  • Next steps

Was this helpful?

  1. How to Track Custom Form Submissions
  2. Hubspot

Framer – How to Track HubSpot Form Submissions

Why track HubSpot forms?

  • Measure lead‑gen performance directly in Humblytics

  • Attribute submissions to specific campaigns and traffic sources

  • Set goals inside Funnels or A/B Experiments

  • Keep tracking cookie‑free and privacy compliant


Prerequisites

Requirement

Check

A HubSpot form (portal + form IDs)

✔︎

Framer project with the Humblytics tag installed

✔︎

If the Humblytics script isn’t yet in your Framer site, follow the Framer installation guide first.


Step‑by‑Step: Track HubSpot Submissions in Framer

1 · Add the HubSpot embed

  1. In your Framer canvas, select Insert → Embed (or drag an Embed block onto the page).

  2. Paste your HubSpot embed code:

<!-- HubSpot Embed -->
<script src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({
  region: "na1",             // update if needed
  portalId: "YOUR_PORTAL_ID", // replace with your portal ID
  formId: "YOUR_FORM_ID"      // replace with your form ID
});
</script>
  1. Publish your site.

2 · Hook into the submission callback

Edit the embed snippet to include onFormSubmit and call Humblytics:

<script>
hbspt.forms.create({
  region: "na1",
  portalId: "YOUR_PORTAL_ID",
  formId: "YOUR_FORM_ID",
  onFormSubmit: function($form) {
    window.Humblytics.trackFormSubmission("hubspot-lead");
  }
});
</script>

Choose any descriptive label (e.g., demo-request) for tracking.

3 · Verify in Humblytics

  1. Publish & open the live Framer URL.

  2. Submit the form once.

  3. In Humblytics, go to Conversions → Forms and look for hubspot-lead. Data appears within ~30 seconds.


Troubleshooting

Issue

Fix

No event appears

Ensure the Humblytics script is in Site Settings → Custom Code → Head and republish.

Event label is wrong

Double‑check the string passed to trackFormSubmission().

Multiple HubSpot forms

Use unique labels (contact-lead, pricing-lead, etc.) per embed.


Next steps

  • Funnels: Add the form label as the final step to visualise drop‑off.

  • Experiments: Use Humblytics A/B tests to compare form placements or CTA copy.

For advanced use cases—multi‑step HubSpot forms, hidden UTM fields, or offline events—email support@humblytics.com and we’ll guide you through.

PreviousHubspotNextCustom/Self-Hosted – How to Track HubSpot Form Submissions

Last updated 2 days ago

Was this helpful?