Lead Tracking & Attribution
Lead tracking software for ads: attribute every lead to its campaign, ad set and ad - through to the CRM deal and revenue. Works with iframes and funnels.
One code for every channel
A single script captures visits, page views and the traffic source - from ads, UTMs and organic traffic.
Leads matched automatically
When a lead arrives from your form, CRM or payment provider, LeadMetrics links it to the matching website session.
Through to deals and revenue
See not just leads for every ad, but also deals, revenue and cost per closed deal from your CRM and payment provider.
From click to revenue - without gaps
Ad platforms only see their own clicks. What happens next on your website, in your form and in your CRM stays in the dark. LeadMetrics closes that gap: one tracking code on your website records every visit with its traffic source, and every lead is automatically matched to the right visit.
So you don't just see how many leads a campaign brings - you see exactly which ad brought which lead, and later which revenue came from it.
Form detection
Email addresses and phone numbers from recognized form fields are sent encrypted and attached to the session - in single-page apps too.
Iframes & embedded funnels
For forms in iframes and funnel builders there are placeholders for hidden fields and checkout links, so attribution still works.
Multi domain tracking
Visitors moving between your domains stay one session - the source is never lost.
Custom tracking sources
Newsletter, influencer or print: create your own sources with their own tracking URL and compare them with your ads.
What is lead tracking?
Lead tracking answers a simple question: where did this lead come from? Lead tracking software remembers during the website visit which channel, campaign and ad someone came from. When that person later fills in a form, books a call or buys, the software connects the lead to the original visit.
The difference to the numbers in Ads Manager: there, every platform only counts its own conversions, with its own attribution window. With lead tracking in LeadMetrics, every real lead is in your lead list - and you see which ad brought it and what became of it. Why platform numbers and your CRM so often disagree is explained in the guide on attribution windows.
How lead tracking works in LeadMetrics
Add the tracking code
Create a project and add the tracking script to your website. It captures sessions, visits and page views with their traffic source.
Connect your ad accounts
Connect Meta, Google Ads, LinkedIn, TikTok or Microsoft Ads (beta). LeadMetrics syncs campaigns, ad sets, ads and daily metrics including spend.
Add the tracking parameters
Add the LeadMetrics parameters to your ads. The script also reads UTM parameters and click IDs such as gclid or fbclid.
Connect your lead sources
Connect your form tool, CRM or payment provider - natively, via webhook, Zapier or Make. Every new lead is automatically matched to its visit and therefore to its ad.
Analyze results per ad
See leads, cost per lead, deals and revenue per channel, campaign, ad set and ad in your dashboards.
How to name UTMs and click IDs so your reports add up later is covered in the guide campaign tracking with UTMs and click IDs.
What gets attributed to a lead
For every lead, LeadMetrics stores its full origin and later adds what became of it:
- Channel, campaign, ad set and ad the lead came from - with first click and last click.
- Traffic source from LeadMetrics parameters, UTMs and click IDs, including organic traffic and custom sources such as newsletters.
- Journey timeline and click history: every recorded visit of the lead up to the conversion.
- Deals and revenue from HubSpot and Close, plus payments from Stripe, CopeCart and Digistore24 - more on the CRM and revenue integrations.
- Metrics per ad: leads, cost per lead, deals, cost per closed deal, revenue, profit and ROAS.
Leads can be exported and imported as CSV.
Leads that arrive later are still attributed
Not every lead converts right away. LeadMetrics matches a new lead to a session in this order:
- by the session id the form or funnel builder passes along,
- by email address,
- by phone number.
It looks up to 90 days back for the matching visit. Leads that can't be matched at first are re-checked every hour - so late data, such as a deal from your CRM, still ends up with the right campaign.
Forms, iframes and funnel builders
Most gaps in lead tracking happen at the form. LeadMetrics covers the common cases:
- Form detection: email addresses and phone numbers from form fields are sent encrypted and linked to the session - in single-page apps too.
- Iframes and embedded forms: a placeholder for a hidden field passes the session to the form, a second placeholder works in checkout links.
- Redirect to a thank-you page: if the email address is passed as a parameter, LeadMetrics matches the lead there. You can also attribute a lead directly via JavaScript.
- Funnel builders and forms via webhook: Heyflow, Perspective, OnePage, Meetovo, Typeform and ClickFunnels.
- Ad platform forms: Meta Lead Ads and LinkedIn Lead Forms can be connected as lead sources too.
How to set this up for funnels, iframes and multiple domains is covered in the guide on tracking leads in funnels and iframes.
First click and last click
For every lead, LeadMetrics stores which ad made the first contact and which one closed it. In your dashboards you switch between first-click attribution and last-click attribution - so you see which campaigns bring new prospects and which ones close. The guide on lead attribution walks you through attributing leads to the right ad step by step.
You can also send attributed leads and deals back to Meta, Google Ads, TikTok and LinkedIn via the Conversion API, so the platforms optimize for real leads.
Multiple domains and your own tracking domain
If your funnel spans several domains, Multi Domain Tracking passes the session on outbound links to your other domains. Depending on your plan, you can also run tracking through a subdomain of your own website via CNAME.
Looking for an overview of the market? The lead tracking software comparison lists more tools with their focus as described by each vendor.
Ready for better tracking?
Frequently asked questions
More features
All featuresConversion API
Send leads, deals and purchases server-side to Meta, Google Ads, TikTok and LinkedIn – so the algorithms optimize for real results instead of form submits.
Learn moreCRM & Revenue Integrations
Connect your CRM, form tools and payment providers to LeadMetrics and see which ads bring not just leads, but deals and revenue.
Learn moreDashboards & Ad Performance
Ad spend, website tracking and CRM results in one dashboard – with ROAS, cost per lead and cost per acquisition down to the individual ad.
Learn more