Skip to content

HubSpot Integration

Get answers about index. Understand the key concepts and how they apply to your conversion tracking setup for optimal performance and tracking accuracy.

The HubSpot integration connects your HubSpot CRM with AnyTrack’s attribution platform. This native integration automatically tracks form submissions, contact creation, meeting bookings, and deal progression without requiring third-party tools like Zapier.

Key capabilities:

  • Track HubSpot form submissions as conversion events * Monitor contact lifecycle stages and deal progression * Attribute conversions to specific ad campaigns and traffic sources * Pass first-party data between platforms for improved targeting

Improve Attribution Accuracy Connect customer actions in HubSpot directly to your advertising campaigns. See which ads, keywords, and channels drive actual leads and customers.

simplifies Data Flow Eliminate manual data exports and imports. Customer interactions flow automatically from HubSpot to your advertising platforms for better targeting and optimization.

Optimize Marketing Spend Make data-driven decisions about budget allocation by understanding which campaigns generate the highest-value leads and customers.

Before connecting HubSpot, install the AnyTrack tracking tag (a JavaScript code snippet that collects visitor data) on your website.

  1. Copy your tracking tag from the AnyTrack dashboard
AnyTrack documentation screenshot
  1. Add the tracking tag to HubSpot pages
  • In HubSpot, go to: Settings > Tools > Content > Pages * Paste the AnyTrack tracking tag in the header section
AnyTrack documentation screenshot
  • Click Save
  1. Navigate to the Integration catalog in your AnyTrack dashboard

  1. Search for HubSpot and click the HubSpot card

  1. Click Install Integration

  1. Select your AnyTrack property (the website/domain you’re tracking) and click Next

  1. Click Connect HubSpot to authenticate your account

  1. Select your HubSpot account and click Choose Account

  1. Review the permissions AnyTrack needs and click Connect App

  1. Click Save to complete the connection

After connecting, you need to add a special tracking field to your HubSpot forms.

  1. Return to HubSpot and edit the form you want to track

  1. Add the AnyTrack Click ID field
  • Add a new field to your form * Select the property AnyTrack Click ID * Set the field as Hidden (visitors won’t see it)

  1. Click Review and Update to save your form changes

The integration automatically tracks these HubSpot activities:

Event TypeTriggerAnyTrack Event Name
Form SubmissionWhen a HubSpot form is submittedFormSubmit
Contact CreatedWhen a contact is created in HubSpotLead
Meeting ScheduledWhen a contact schedules a meetingSchedule
Lifecycle StagesContact reaches “Customer” stageCompleteRegistration
Lead stagesWhen a contact lead stage is updatedCustom event names
Deal StagesWhen a deal is created and updatedCustom event names

The native integration attributes leads collected on HubSpot’s own forms automatically — the Tracking Tag stores the Click ID in the AnyTrack Click ID property at session time, and AnyTrack matches it back to the visit.

When the lead is collected somewhere else first — an external form, or a contact pushed in through Zapier or Make — there is no tracked session on the HubSpot side. You have to carry the Click ID into HubSpot yourself, into that same AnyTrack Click ID property. Each source platform exposes the Click ID under its own parameter; map that value into the property:

Source platformClick ID parameter on the sourceDestination in HubSpot
Typeformat_click_idAnyTrack Click ID property
Unbounceclick_idAnyTrack Click ID property
Elementor_atidAnyTrack Click ID property
Calendlyutm_term or sfidAnyTrack Click ID property
ClickFunnelsclick_idAnyTrack Click ID property
LeadsHookclick_idAnyTrack Click ID property
Any standard HTML formhidden field, value --CLICK-ID--AnyTrack Click ID property

For the full external-form → CRM pattern across every platform, see Pass the Click ID from External Forms to Your CRM.



HubSpot Integration - Frequently Asked Questions

FAQ was last reviewed on 2026-06-30

What is the AnyTrack Click ID field in my HubSpot forms?
The AnyTrack Click ID is a custom contact property that AnyTrack creates automatically during installation. It stores a unique visitor identifier that links form submissions to specific website sessions, enabling accurate attribution of leads to ad campaigns and traffic sources.
Do I need to add the AnyTrack Click ID field to every form?
Yes. Add the AnyTrack Click ID as a hidden field to every HubSpot form you want to track. Without this field, AnyTrack cannot attribute the form submission to the correct visitor session and campaign.
Which HubSpot events does AnyTrack track?
AnyTrack tracks form submissions, contact creation, meeting bookings, lifecycle stage changes, lead stage updates, and deal stage progression. Each event type is automatically mapped to the corresponding AnyTrack event name.
Can I track deal stages and attribute them to ad campaigns?
Yes. When a deal is created or updated in HubSpot, AnyTrack collects the event and attributes it to the original traffic source. This lets you see which campaigns drive deals through your pipeline.
Does this integration work with non-HubSpot forms or landing pages?
The native HubSpot integration tracks HubSpot forms specifically. If you use non-HubSpot forms on your website, install the AnyTrack tracking tag on those pages and use the appropriate integration for your form platform.