How to Create Tracking URLs for HubSpot Reports

How to Create Tracking URLs for HubSpot Reports?

You’ve been there. You launch a campaign and see traffic increase, but your HubSpot reports only tell part of the story.

Which email drove signups? Did that spike in leads come from a paid ad or an organic post?

Without precise tracking, you are left guessing, and that costs time, budget, and follow-through.

HubSpot tracking URLs address this problem directly. By tagging each link with source and campaign data, you can identify how visitors found you, which efforts performed, and what needs adjustment.

Many teams either skip tracking URLs entirely or configure them incorrectly, which breaks attribution and limits reporting accuracy.

This guide explains what HubSpot tracking URLs are, how they work, how to create them correctly, and how to use the data they generate in reports. 

You will also see common mistakes and how to avoid them, so actions can be tied to outcomes with clarity.

Using Tracking URLs to Attribute Traffic in HubSpot

A HubSpot tracking URL adds campaign-specific parameters to a standard link so HubSpot can log the source of traffic.

The destination page does not change. The added parameters instruct HubSpot how to categorize the visit in reports.

You can find the Tracking URL Builder under Reports > Analytics Tools > Tracking URL Builder in HubSpot.

HubSpot appends query parameters similar to UTM tags used in analytics platforms. These parameters classify clicks by campaign, source, and medium.

Once live, tracking URLs feed data directly into HubSpot dashboards. This allows attribution across contacts, sessions, and conversions.

Any landing page, blog post, or website page with the HubSpot tracking code installed can capture this data. Tracking URLs can be used across email, ads, social posts, partner links, and other promotional channels.

How It Works Under the Hood

For accurate attribution, tracking URLs rely on consistent inputs and proper usage.

When someone clicks a tracking URL, HubSpot captures identifiers and stores them on the visitor record. If the visitor converts, that source data is carried into the contact record.

Here is what makes up a tracking URL:

Destination URL:
The page the visitor lands on. The HubSpot tracking code must be installed.

Campaign:
The HubSpot campaign that should receive credit for the visit.

Source:
The traffic channel, such as Email, Paid Search, or Social Media.

Medium:
The delivery method, for example, CPC or newsletter.

Term or Content (Optional):
Used to differentiate variations like ad creatives or subject lines.

HubSpot then records attribution data, including:

Visits that appear in traffic and behavior reports
Contact records showing campaign and source under Original Source drill-down fields
Conversion data linked to the original click, retained across future visits as long as cookies persist

If you shorten tracking URLs, confirm the shortened version preserves all parameters. Some third-party tools remove query strings, which breaks attribution.

Main Uses Inside HubSpot

Tracking URLs support reporting across several key use cases.

Campaign Performance Tracking

Tracking URLs show which campaigns generate leads and engagement.

For example, if a whitepaper is promoted through paid ads and email, separate tracking URLs reveal which channel performs better inside campaign dashboards.

Channel Attribution Analysis

Default source reporting does not always reflect actual channel intent.

Tracking URLs allow manual control over how traffic is classified. Sponsored LinkedIn posts can be labeled as Paid Social instead of appearing as referral traffic.

Sales Content Measurement

Sales teams share links daily, including pricing pages, demo sign-up forms, and product tours.

By using tracking URLs labeled with a Sales Outreach source, teams can measure engagement by rep, team, or campaign and adjust enablement efforts accordingly.

Partner or Affiliate Traffic Tracking

Partner and affiliate contributions require clean attribution.

Assigning each partner a unique tracking URL and campaign tag enables HubSpot to accurately credit traffic and evaluate partner performance.

Common Setup Errors and Wrong Assumptions

Small configuration mistakes can quickly distort reporting.

Mistake: Using Shortened URLs That Remove Parameters

Some link shorteners remove query strings.

Fix:
Test shortened links by clicking through and confirming that visit data appears in HubSpot.

Mistake: Skipping Campaign Assignment

Without assigning a campaign, traffic will not appear under the correct initiative.

Fix:
Always select or create a campaign when building tracking URLs.

Mistake: Inconsistent Naming Across Platforms

Mismatched source, medium, or campaign names cause fragmented attribution.

Fix:
Use a consistent naming convention across HubSpot and external platforms.

Mistake: Missing HubSpot Tracking Code

Tracking URLs cannot capture data if the destination page does not include the tracking script.

Fix:
Confirm the HubSpot tracking code is installed before promotion.

Step-by-Step Setup or Use Guide

Before building tracking URLs, confirm the destination page is live and includes the HubSpot tracking code. You also need access to campaigns and analytics tools.

Step 1: Go to the Tracking URL Builder

Navigate to Reports > Analytics Tools > Tracking URL Builder.

Step 2: Create a New Tracking URL

Click Create Tracking URL in the top-right corner.

Step 3: Enter Your Destination URL

Paste the page URL where visitors should land. The page can be hosted inside or outside HubSpot.

Step 4: Assign a Campaign

Select the campaign this traffic should be attributed to. Create a new campaign if needed.

Step 5: Choose the Source

Select the traffic source such as Paid Search, Social Media, or Email.

Step 6: Add Medium, Term, and Content as Needed

These optional fields support deeper segmentation, such as ad variations or subject lines.

Step 7: Copy Your Tracking URL

HubSpot generates the final URL with all parameters included. You can copy the full link or use HubSpot’s built-in shortening option.

Step 8: Test Before Launch

Open the link in a private browser. Confirm campaign and source data appear in HubSpot visit logs.

After launch, monitor performance under Reports > Traffic Analytics > Sources and inside campaign dashboards.

Measuring Results in HubSpot

Tracking URLs provide value only when results are reviewed regularly.

Here is where to check performance:

Traffic Analytics:
Navigate to Reports > Analytics Tools > Traffic Analytics > Sources to review visits by source, medium, and campaign.

Campaign Reports:
Campaign dashboards display sessions, form submissions, contacts created, and influenced revenue tied to tracking URLs.

Contact Records:
Individual contacts show Original Source and Campaign values based on the first tracked interaction.

Custom Dashboards:
Tracking URL data can be combined with deals, forms, and workflows to show progression from click to close.

A simple system for consistent tracking includes:

Using tracking URLs for every promotional link
Maintaining clean naming conventions
Reviewing attribution reports regularly
Labeling or retiring outdated URLs

Short Example That Ties It Together

A webinar is promoted through LinkedIn Ads, an internal email list, and a partner newsletter.

Three tracking URLs are created. Each points to the same registration page but uses different sources: Paid Social, Email Marketing, and Referral. All use the same campaign name.

After launch, campaign data shows:

500 visits and 60 signups from LinkedIn
300 visits and 70 signups from email
200 visits and 40 signups from the partner

This breakdown supports clearer decisions around budget allocation, messaging updates, and channel focus.

How INSIDEA Helps

Accurate tracking depends on a consistent setup across campaigns, URLs, and CRM structure.

INSIDEA supports teams that need reliable attribution across marketing and sales activity.

Organizations that hire HubSpot experts through INSIDEA receive guidance on tracking configuration, campaign structure, and reporting alignment.

Support includes:

  • HubSpot Onboarding: Tracking code installation and campaign setup
  • HubSpot Campaign Management: Ongoing URL governance and naming consistency
  • Automation Support: Workflow alignment to preserve attribution through lifecycle stages
  • Reporting Structure: Dashboards aligned with operational and leadership needs

When tracking URLs, campaigns, and reports work together, attribution becomes easier to trust.

Correct tracking URLs provide clarity across campaigns, sources, and conversions. 

With consistent setup and review, HubSpot reports reflect how traffic and leads actually move through your system.

Jigar Thakker is a HubSpot Certified Expert and CBO at INSIDEA. With over 7 years of expertise in digital marketing and automation, Jigar specializes in optimizing RevOps strategies, helping businesses unlock their full potential. A HubSpot Community Champion, he is proficient in all HubSpot solutions, including Sales, Marketing, Service, CMS, and Operations Hubs. Jigar is dedicated to transforming your RevOps into a revenue-generating powerhouse, leveraging HubSpot’s unique capabilities to boost sales and marketing conversions.

The Award-Winning Team Is Ready.

Are You?

“At INSIDEA, it’s all about putting people first. Our top priority? You. Whether you’re part of our incredible team, a valued customer, or a trusted partner, your satisfaction always comes before anything else. We’re not just focused on meeting expectations; we’re here to exceed them and that’s what we take pride in!”

Pratik Thakker

Founder & CEO

Company-of-the-year

Featured In

Ready to take your marketing to the next level?

Book a demo and discovery call to get a look at:


By clicking next, you agree to receive communications from INSIDEA in accordance with our Privacy Policy.