Skip to content
Tutorials Center
My learning

Topics

Lesson 13 of 37 ยท Marketing Hub

HubSpot Campaigns, UTM Tracking, Lead Scoring and Attribution

Organize marketing work in HubSpot campaigns, track traffic with UTM parameters and original source, score leads, and understand revenue attribution models.

Marketing needs to answer two questions: what are we doing, and what is it worth? HubSpot's campaigns group the work, UTM parameters and source properties track where people came from, lead scoring ranks them, and attribution reports assign credit for revenue.

Campaigns

A campaign is a container for all the assets of one marketing initiative: the landing page, emails, blog posts, social posts, forms, ads, workflows and files. Create one in Marketing > Campaigns, give it a name, goal, dates, owner and budget, then add assets. Assets can also be tagged with a campaign when you create them.

Benefits of using campaigns consistently:

  • One page shows all assets and their performance together.
  • Contacts are associated with the campaign when they interact with any of its assets, so you can report influenced contacts, deals and revenue.
  • Budgets and spend can be tracked against results.

Naming matters. A convention such as 2025-Q2 | Product launch | Core keeps old and new campaigns sortable.

Where visitors come from

When a person visits your website with the HubSpot tracking code installed, HubSpot records the source, using the referrer and any UTM parameters. The first interaction is stored in the contact's Original source property; later visits populate Latest source. The standard values include:

Original source Typical meaning
Organic search Unpaid search engine visit
Paid search Search ads
Email marketing A click from a marketing email
Organic social Unpaid social media
Paid social Social ads
Referrals Another website linked to you
Direct traffic Typed URL, bookmark or unknown
Offline sources Imported or created manually
Other campaigns Tagged traffic that does not fit another category

Newer accounts may see additional values (for example for AI assistants), since the list evolves. The drill-down properties (Original source drill-down 1 and 2) hold details such as the specific campaign or referring domain.

UTM parameters

UTM parameters are tags you add to a link so analytics tools know where the click came from:

TEXT
https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring-2025&utm_content=hero-button
Parameter Purpose Example
utm_source The site or platform newsletter, linkedin
utm_medium The channel type email, cpc, social
utm_campaign The campaign name spring-2025
utm_term Paid keyword (optional) crm software
utm_content Which link or creative (optional) hero-button

HubSpot reads these values on arrival, stores them on the submission and the contact, and uses them to group traffic in the Traffic analytics tool. It can also generate tracking URLs for you in the tracking URL builder. Good habits:

  • Lower-case everything. Email and email become different rows.
  • Define a naming list shared by the whole team and stick to it.
  • Never put UTMs on internal links within your own site: they overwrite the real source.
  • Keep the names short and readable.

Build a tracking URL (stand-in)

HubSpot has its own builder; this stand-in just shows how a clean, consistent URL is assembled.

JS Stand-in: UTM link builder

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Lead scoring

A lead score ranks contacts by likelihood to buy, so sales spends time on the best. In HubSpot you create a score property (Settings > Properties, field type Score, or the newer lead scoring tool) and add criteria:

  • Positive points for fit and interest: job title is a decision maker (+15), company size over 50 (+10), visited the pricing page (+10), requested a demo (+30).
  • Negative points for poor fit or disengagement: free email domain (-10), unsubscribed (-30), student (-20).
  • Optional score caps so that a single behavior cannot dominate.

Scores usually combine fit (who they are) and engagement (what they do). A common approach: when the total reaches a threshold, a workflow sets lifecycle stage to MQL and notifies sales (see Automation and Workflows). Review the model every quarter against real outcomes, because a score that does not predict closed deals is only decoration.

JS Stand-in: lead score from rules

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Attribution

Attribution decides which marketing touches get credit for a deal. A customer rarely buys after a single visit: perhaps a blog post, a webinar, two emails, then a sales call. HubSpot's revenue attribution reports (Marketing Hub Enterprise and some Professional features, depending on the edition) apply a model across the contact's interactions on the way to a closed deal:

Model Credit goes to
First interaction The very first touch
Last interaction The last touch before the deal was created
Last non-direct Last touch that was not a direct visit
Linear Every touch equally
U-shaped 40% first, 40% lead-creating touch, 20% split across the middle
W-shaped Adds a third peak at deal creation
Full path Peaks at first touch, lead creation, deal creation and close
Time decay More credit to touches closer to the deal

No model is "true"; each tells a different story. First-touch favors awareness channels, last-touch favors closing channels. Many teams look at two or three models side by side.

JS Stand-in: compare attribution models

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The same five touches produce four different stories, which is why you should state the model whenever you quote a number.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is stored in a contact's Original source property?

    Original source records the first interaction and does not change later.
  2. 2. Why should UTM values be lower-case and standardized?

    Email and email count as different values, which fragments reporting.
  3. 3. What does a lead score measure?

    Rules add or subtract points for fit and behavior, then a threshold triggers action.
  4. 4. Which attribution model gives all credit to the first touch?

    First-interaction attribution assigns the full value to the initial touchpoint.

Summary

  • Campaigns group assets and let you report influenced contacts, deals and revenue.
  • Source properties and UTM parameters record where visitors came from; standardize them.
  • Lead scoring turns fit and engagement into points and a threshold for MQL.
  • Attribution models share deal revenue across touches; compare more than one.

Next: Content, SEO and social