Skip to content

Capture UTM Parameters in Marketo and Report on Leads by Campaign

Website analytics can show visits, but Marketo reporting needs to connect each lead to the campaign that brought that person to the site. The workflow below stores attribution data in the browser, writes it into hidden form fields at submission, and sends it to Marketo with the lead record.

Four steps to capture UTM data in Marketo

Tag every paid link consistently first. That includes search and social advertising, plus one-off placements such as trade-publication banners, newsletter sponsorships and co-marketing links. Consistent tagging is the foundation; without it, downstream reporting has gaps.

Then add hidden fields to each lead-capture form, including contact and quote-request forms. The fields are:

  • Channel
  • Channel Drilldown 1
  • Channel Drilldown 2
  • Channel Drilldown 3
  • Landing Page
  • Landing Page Group

A small website snippet analyses UTM values, referrer details and other arrival signals, classifies the visit into a channel such as Paid Search, Paid Social or Organic Search, and stores the result in the visitor's browser. When a form is submitted, those stored values populate the hidden fields automatically and travel into Marketo alongside the name, email and other details the visitor entered.

Worked example: from ad click to lead record

Consider a Google Ads visitor who clicks a brand campaign ad, lands on a features page and later requests a demo. The hidden fields could be filled as follows:

  • Channel: Paid Search
  • Channel Drilldown 1: Google
  • Channel Drilldown 2: Brand Campaign
  • Channel Drilldown 3: Marketo
  • Landing Page: www.marketo.com/features/email
  • Landing Page Group: Features

That example shows why the drilldown fields matter: they preserve the network, campaign and keyword-level context instead of a single raw source value. In Marketo, the values can be viewed on the lead record, passed to a CRM or other sales and marketing systems, or exported to a spreadsheet for dashboards in tools such as Google Data Studio or Microsoft Power BI.

Why classified attribution beats raw UTM values alone

Raw UTM capture alone has three common weaknesses. First, it misses untagged traffic, so Organic Search, Organic Social, Direct and Referral leads disappear from source reporting. Second, many simple setups only work when the form is submitted on the landing page itself; anyone who browses elsewhere first loses the tags. Third, inconsistent tagging fragments reporting — for example, the same search network recorded as Google, google.com and adwords would look like three sources.

Storing attribution in the browser addresses the second problem. Classifying visits into standard channels addresses the third, because variant spellings can still map to Paid Search. Recording the landing page and its group adds a fourth benefit: you can see which sections of the site, such as a blog, and which individual pages generate leads and customers.

Reports and launch checklist

Once the data reaches Marketo and downstream systems, four reports are especially useful:

  • Leads by Channel: monthly lead volume split by channel, to guide where budget, time and team effort go.
  • Leads by Facebook Ads Network: leads split across Meta networks such as Facebook, Instagram and Messenger, to shift spend toward the networks producing leads.
  • Customers by Google Ads Campaign: customers per campaign, so working campaigns can receive more budget and weak ones can be paused.
  • Revenue by Keyword: revenue per search term, when the keyword is included in Google Ads UTM parameters through tracking templates, to inform bids and impression-share decisions.

Use this checklist before launch: confirm every paid and partner link is tagged; add all six hidden fields to every lead form; test a submission from a tagged landing page; test a submission after navigating to a different page; check the values on the Marketo lead record; and confirm the fields flow into your CRM or reporting export.

Wrap up

Capturing UTM parameters in Marketo is most valuable when it covers all traffic, survives browsing across pages, normalises inconsistent tags into standard channels, and records the landing page. Together, those pieces turn a lead record into a reliable answer to which campaigns, networks, pages and keywords are producing leads, customers and revenue. Before committing to a tool, check its current trial and pricing terms directly with the provider, since these can change.

Frequently asked questions

Does this only work for paid campaigns with UTM tags?

No. Attribution data can also be recorded for Organic Search, Organic Social, Direct and Referral visits, so reporting is not limited to tagged paid campaigns.

What if a visitor lands on one page and submits a form on another?

Yes, if the attribution values are stored in the browser after the first landing. A visitor can browse other pages, or return later, and the stored values can still be written into the form on submission.