How to Track the Source of Your Leads in Hubspot

Learn how to track lead sources in HubSpot and identify the marketing campaigns and channels driving your leads, deals, and customers effectively.

Do you wish you could see exactly where your leads and customers are coming from in HubSpot? 

Do you wish you could pinpoint exactly where your leads and customers are coming from in HubSpot? Tracking the marketing channels and campaigns that drive your leads and customers means you can focus on the ads that are actually bringing in revenue.

In this article, we’ll explain how to use AttributionIQ for HubSpot original source tracking.  You’ll learn how to set up tracking, gather data, and create usable reports.

How to Track Lead Sources in HubSpot in 4 Steps

1. Set Up AttributionIQ on Your Website

First, sign up for Attribution IQ to get started. Once your account is created, you’ll receive a snippet of code to add to your website. This code is important for Hubspot lead source tracking, as it captures and sorts visitor data into simpler terms.

You’ll also need to add a few hidden fields to your forms. These fields collect lead source information without requiring visitors to fill them out manually. The fields to include are:

  • Source
  • Medium
  • Campaign
  • Ad Group
  • Landing Page

Adding these fields ensures that every lead is tied to its originating source, giving you clear and actionable data.

2. Capture UTM Parameters for Lead Tracking

AttributionIQ uses UTM parameters from your campaign URLs to track traffic sources. These parameters are snippets of text added to your URLs, helping you identify:

  • Source: Where the lead came from (e.g., Google, Facebook).
  • Medium: How the traffic was generated (e.g., paid search, email).
  • Campaign: The campaign name for clear tracking (e.g., "summer_sale").
  • Ad Group: The specific group or keyword linked to the ad.
  • Landing Page: The page the visitor initially landed on.

For example, a campaign URL might look like this:

https://yourwebsite.com?utm_source=google&utm_medium=paidsearch&utm_campaign=spring_promo&utm_term=crm_ads

When someone clicks this URL and submits a form, AttributionIQ captures the UTM parameters and associates them with the contact record in HubSpot.

3. AttributionIQ Auto-Fills Hidden Fields

Once AttributionIQ is installed, it works in the background to track and store UTM data in the visitor’s browser. Even if a visitor browses multiple pages or leaves and comes back later, the data stays intact.

When the visitor submits a form, AttributionIQ automatically fills the hidden fields with the UTM parameters, such as the campaign name, traffic source, and keyword. This data is then sent to HubSpot along with the contact's details.

4. Use HubSpot Reports to Understand Your Data

With lead source data in HubSpot, you can create detailed reports that show you which marketing efforts are driving leads, deals, and customers. For example:

  • Leads by Source: Identify which channels (e.g., paid search, social media) generate the most leads.
  • Deals by Campaign: Understand which campaigns are creating opportunities for your sales team.
  • Customers by Ad Group: See which ad groups bring in paying customers, helping you make the most of your ad spend.

AttributionIQ integrates seamlessly with HubSpot’s reporting tools, so you can see your data in dashboards and make data-driven decisions with ease.

What Data Does AttributionIQ Track?

AttributionIQ tracks two key types of data for better lead attribution:

  1. Marketing Channel Information AttributionIQ captures the source, medium, and campaign details for every lead. For example:some text
    • Source: Google, Facebook, LinkedIn, etc.
    • Medium: Paid search, organic social, referral, etc.
    • Campaign: Campaign names, such as "new_launch" or "holiday_sale."
    • Ad Group: Specific groups or keywords tied to your campaigns.
  2. Landing Page Data AttributionIQ also captures the initial landing page of your leads and organizes it into page groups (e.g., blog, product pages). This helps you understand which parts of your site drive leads and customers.

Example Reports You Can Create in HubSpot with AttributionIQ

  1. Leads by Source Track how many leads you’re generating from each source, such as paid search, email marketing, or organic search. This high-level view helps you focus on the most effective channels.
  2. Deals by Campaign Understand which campaigns are creating opportunities for your sales team. This helps you allocate budgets to campaigns that perform well.
  3. Customers by Keyword See which keywords are driving paying customers. Use this data to optimize your paid search strategy and focus on terms that deliver results.
Get Started with AttributionIQ Today

If you’re looking to track the source of your leads in HubSpot and make informed marketing decisions, AttributionIQ is the tool for you. It’s easy to set up and integrates with your existing tools to provide clear, actionable insights.

Ready to optimize your campaigns? Book a demo with our teams and start tracking your leads today.

PRICING

Transparent, growth-friendly pricing.

Choose the plan that fits your monthly traffic volume. From startups to enterprise,
we have a plan that scales with your success.

Personalised onboarding

Easy integration

Cancel anytime

Starter

£100

/ month

Get Started
What you will get

Up to 5,000 monthly visits

Keyword level attribution

Realtime Dashboard

Growth

£250

/ month

Get Started
What you will get

Up to 15,000 monthly visits

Keyword level attribution

Realtime Dashboard

Track lead attribution in CRM

Calendly Atribution

Enterprise
Contact Us
What you will get

50,000+ monthly visits

Call tracking

Keyword level attribution

Realtime Dashboard

Track lead attribution in CRM

Calendly Atribution