HubSpot Integration

Learn how to integrate HubSpot with AnyTrack to track and attribute customer interactions across your marketing campaigns

What is the HubSpot Integration?

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

Before you begin

  • You have an AnyTrack account with a paid subscription and Admin permissions
  • You have a HubSpot account with permissions to connect third-party integrations
  • You have at least one HubSpot form you want to track

🚧

Beta feature

This HubSpot integration is currently in Beta and available to all customers at no additional cost. During this period, we are actively gathering feedback and making improvements. Learn about Beta Features.

Why Use This Integration?

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

Streamline 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.

How to Set Up the Integration

Step 1: Install AnyTrack Tracking

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

  2. Add the tracking tag to HubSpot pages

    👍

    Using HubSpot CMS

    This guide shows setup via HubSpot CMS. You can also install the tracking tag via Google Tag Manager or directly on your website.

    • In HubSpot, go to: Settings > Tools > Content > Pages

    • Paste the AnyTrack tracking tag in the header section

    • Click Save

Step 2: Connect HubSpot to AnyTrack

  1. Navigate to the Integration catalog in your AnyTrack dashboard

  2. Search for HubSpot and click the HubSpot card

  3. Click Install Integration

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

  5. Click Connect HubSpot to authenticate your account

  6. Select your HubSpot account and click Choose Account

  7. Review the permissions AnyTrack needs and click Connect App

  8. Click Save to complete the connection

Step 3: Configure Form Tracking

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

👍

AnyTrack Client ID Property

During installation, AnyTrack automatically creates a custom property called AnyTrack Client ID. This unique identifier links form submissions to specific website visitors, improving attribution accuracy.

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

  2. Add the AnyTrack Client ID field

    • Add a new field to your form
    • Select the property AnyTrack Client ID
    • Set the field as Hidden (visitors won't see it)

  3. Click Review and Update to save your form changes

What Events Are Tracked?

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

HubSpot Integration - Frequently Asked Questions

FAQ was last reviewed on 2026-02-17

The AnyTrack Client 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.
Yes. Add the AnyTrack Client 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.
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.
Yes. When a deal is created or updated in HubSpot, AnyTrack captures the event and attributes it to the original traffic source. This lets you see which campaigns drive deals through your pipeline.
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.