Track Hubspot Forms

Able supports tracking of Leads captured using HubSpot Forms.

It allows Able to supplement HubSpot built-in reports and send purchase conversion to Google Analytics, Google Ads and Facebook Ads, allowing to use their native reports to report on lead and purchase conversions, as well as to drastically improve audience optimization by letting ad platforms know what leads have converted into paying customers.

To start tracking form submissions, HubSpot form embed code should be extended,
for example replace:

<script>
hbspt.forms.create({
   portalId: "123456",
   formId: "4afa4b6f-42c5-40b0-ae4c-0d10fc2a011a"
});
</script>

with

<script>
hbspt.forms.create({
   portalId: "123456",
   formId: "4afa4b6f-42c5-40b0-ae4c-0d10fc2a011a",
   onFormSubmit: function($form) {
     uipe('track', 'Lead', {
       keys: {
         email: $form.find('input[name="email"]').val(),
       },
       lead: {
          firstName: $form.find('input[name="firstname"]').val(),
         lastName: $form.find('input[name="lastname"]').val(),
         company: $form.find('input[name="company"]').val(),
       }
     })
   }
});
</script>

The page with a form should have the Able CDP tracking code installed as well.

Watch our video tutorial explaining how to track Hubspot Form Submissions and send them to Google Analytics using Google Global Site Tag, as well as to Able.

What else you can do

Send Purchase Conversions

Send Purchases to Google Analytics

Send attributed Purchases to Google Analytics from any source, such as a sending a closed won CRM deal, a successful Stripe Invoice payment or an e-commerce purchase that has been successfully paid.

Send Purchases to Google Ads

Sending conversions to Google Ads is an extremely common integration scenario. Its used to add conversion value to Google Ads’ reports, allowing to report on ROI, as well as to use performance-based targeting and optimization capabilities.

Send Purchases to Facebook Conversions API

Attributing conversions to Facebook Ads is a common task, however doing it with sufficient precision is hard. Sales might happen in CRM, or, when they happen online, customer might not come back to the website, so tracking with Facebook Pixel JS produces substandard results. Able solves this problem with its Facebook Conversions API integration.

Send Leads

Send Leads to Google Analytics

The easiest way to attribute leads to Google Analytics user ids is to use Able Customer Data Platform, which does it automatically.

Send Leads to Scoro

Extend form Leads with additional attribution details such as UTM parameters, referrer URL, landing page URL and Google Analytics Click Id and send them to Scoro as Companies and Contacts.

Send Attributed Leads to Salesforce

Being able to keep track of online marketing sources inside Salesforce CRM is a common need. This guide outlines the steps needed to configure Salesforce to store additional fields and instructions to set up visitor tracking necessary for gathering UTM, Landing Page and Referrer URLs along with leads.