HubSpot Conversion Tracking And Attribution – How To Set Up
Contents
Overview
Able CDP HubSpot conversion tracking enables unlocks the full potential of your lead generation and sales data by connecting HubSpot with your advertising platforms and analytics tools. Instead of relying solely on HubSpot's built-in reporting, you'll gain comprehensive conversion attribution that tracks the complete customer journey from initial website visit through final purchase.
Key benefits you'll achieve:
- Enhanced advertising performance: Send purchase conversion data to Google Analytics, Google Ads, and Facebook (Meta) Ads, enabling their native conversion optimization algorithms to improve your campaign targeting and bidding
- Complete attribution visibility: Connect lead captures from HubSpot Forms to downstream purchase conversions, revealing which marketing channels and campaigns drive your highest-value customers
- Improved audience optimization: Allow ad platforms to identify which clicks convert to paying customers, enhancing lookalike audience creation and automated bidding strategies
- Unified conversion tracking: Supplement HubSpot's reporting with cross-platform attribution that spans your entire marketing stack
How the conversion tracking works:
The setup involves two main components that work together to create end-to-end conversion attribution. First, you'll modify your HubSpot Form embed codes to capture lead data and send it to Able CDP when forms are submitted. (Able CDP can also track other types of forms, such as forms in your CMS or third-party form widgets like Calendly.) Second, you'll connect your HubSpot account to automatically import Deal conversions as they progress through your sales pipeline. Able CDP then matches these purchase and qualification conversions back to the original leads and website visitors, creating complete attribution paths that can be shared with your advertising platforms for optimization.
Track HubSpot Forms
Able supports tracking of Leads captured using HubSpot Forms.
Tracking HubSpot leads allows 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.
Edit HubSpot Form Embed Code
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, available in the 'Get Code' section of the Able Dashboard, 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.
Track HubSpot Deal Conversions
Able receives HubSpot Deal conversions, attributing them to source leads and website visitors.
Connect your HubSpot instance to Able.
In Able Dashboard, press "Add Service Integration" and select "HubSpot".
Select the stages of Deal conversions that should be processed.
In Able Dashboard, press "Add Service Integration" and select "HubSpot".
Able maps HubSpot stage transitions to conversion events accordingly to the configured settings. For example:
- Event Type – Purchase
- Pipeline – Sales Pipeline
- Stage – Closed Won