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

πŸ“˜

Prerequisites

To install the AnyTrack integration in HubSpot:

  • An AnyTrack account with a paid subscription and Admin permissions
  • A HubSpot account with permissions to connect third-party integrations. If you don't have a HubSpot account you should create one now.

🚧

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

Frequently Asked Questions

What types of HubSpot forms are supported?

Only native HubSpot forms work with this integration. This includes:

  • Embedded HubSpot forms on your website
  • HubSpot popup forms
  • Forms created directly in HubSpot

Requirements:

  • The form must include the AnyTrack Client ID property
  • The page must load the AnyTrack tracking tag

Third-party form builders won't work with this integration.

Do I need the AnyTrack tracking tag on my site?

Yes, the tracking tag is always required. It collects first-party data and enables session tracking.

For HubSpot CMS or landing pages:

  1. Go to: Settings > Content > Pages > Templates
  2. Paste the AnyTrack tag into the Site Header HTML section

For Google Tag Manager:

  1. Add the AnyTrack tag template from the Google Tag Manager Template gallery
  2. Set trigger to All Pages
Do I need Zapier to send HubSpot data to AnyTrack?

No. This native integration handles all data transfer automatically, including:

  • Form submissions
  • Customer lifecycle stages
  • Deal stage changes

Zapier is not required.

Can I track deal stages?

Yes. From the HubSpot Event Mapping screen in AnyTrack, select which deal stages you want to track and map them to specific event names for your advertising platforms.