Skip to content

Track LinkedIn Ads leads and customers in HubSpot

Clicks alone do not show whether LinkedIn spending produces enquiries, deals or income. This guide explains how to attach campaign origin to every form submission so HubSpot records which LinkedIn activity preceded each lead and customer.

Why clicks are not enough

LinkedIn targeting by industry, role and seniority can reach a precise audience, but that precision often comes at a high cost per click. Judging performance by visits therefore risks overstating value. The useful question is narrower: how many contacts, qualified opportunities, closed customers and dollars of revenue trace back to each campaign, network and creative? Answering it requires origin data to travel with the contact record into the CRM, rather than staying in the ad platform.

Four-step setup checklist

Work through these steps in order:

  • Install a small attribution snippet on the website so it can observe incoming campaign parameters.
  • Add hidden fields named Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3 and Channel Drilldown 4 to each relevant form. Supported form builders named in the workflow include HubSpot, Gravity Forms, Webflow Forms and Typeform.
  • Append UTM parameters to LinkedIn destination URLs, for example utm_medium=paidsocial, utm_source=linkedin and utm_campaign=brand-campaign.
  • Confirm a test submission creates a HubSpot contact carrying the expected channel values.
  • Build reports from those fields, either with HubSpot tools or a connected analytics tool.

Checklist before launch: snippet present on every landing page, hidden fields present on every conversion form, UTM naming consistent across campaigns, and a test lead verified end to end.

How the data flows from click to contact

UTM parameters are extra text appended to a destination URL. They tell attribution tooling which source, medium and campaign a visit belongs to. Once installed, the snippet classifies each visitor into a channel such as Paid Social, Paid Search or Organic Search and stores that classification in a browser cookie. If the person leaves and later returns, the stored values can still be supplied. On form submission, the snippet fills the hidden fields, and the form tool forwards them alongside name, email, company and other captured details to HubSpot. The snippet also normalises messy values, so linkedin and LinkedIn in utm_source still map to the same Paid Social channel.

Worked example: from ad click to drilldown values

Consider an accounting firm running a tax-season LinkedIn campaign. A visitor clicks an ad creative tagged with a campaign name and creative name, then submits a contact form. The resulting HubSpot record could show Channel as Paid Social, the first drilldown as LinkedIn, the second as the tax campaign name, and the third as the creative clicked. That chain lets the firm see not merely that LinkedIn sent traffic, but which campaign and creative produced a contact that later became an opportunity or customer. The same pattern applies to any service where creative quality matters as much as targeting.

Four reports to build in HubSpot

With channel fields on contacts and deals, four views support different decisions:

  • Leads by channel: monthly lead volume per channel. If most leads arrive via Organic Search while most budget goes to LinkedIn, rebalancing deserves review.
  • Opportunities by network: opportunity volume per social network, showing where spend produces pipeline rather than only enquiries.
  • Customers by campaign: closed customers per campaign, separating campaigns that attract converting buyers from those that only attract browsing leads.
  • Revenue by ad: revenue per individual ad, revealing which creatives attract buyers and where creative improvements may pay off.

Together these views move reporting from lead counts toward conversion rate, close rate and revenue.

What to verify before scaling spend

The approach works because attribution is captured at the moment of conversion, stored in the CRM, and reported in tools the team already uses. It also covers other channels, including Paid Search, Organic Search, Organic Social, Referral and Direct, so LinkedIn can be compared fairly against the rest of the mix. Before scaling spend, verify that every LinkedIn URL carries UTM parameters, every form carries the hidden fields, and reports are grouped by the drilldown fields rather than by clicks alone.

Frequently asked questions

What setup is needed before LinkedIn data appears on a HubSpot contact?

Add the attribution snippet to the site, add Channel and Channel Drilldown 1-4 as hidden fields to the form, and append UTM parameters to LinkedIn ad URLs. When a visitor submits, the stored channel data is sent with the contact details to HubSpot.

What happens if a visitor leaves and returns, or UTM naming is inconsistent?

Yes. The parameters are kept in a browser cookie, so a later return visit can still pass the original attribution through the form, and inconsistent capitalisation in UTM values is normalised to the correct channel.

Which reports become possible once the fields are populated?

Use the captured fields to count leads by channel, opportunities by network, customers by campaign, and revenue by individual ad, in HubSpot reporting or a connected reporting tool.