Skip to main content
The Leads report tracks lead generation performance — volume, value, and breakdown by category, type, and source. It populates from any event you send with lead-specific fields, typically generate_lead.

How it works

Hardal reads lead data from events that include lead_id. The report groups leads by category, type, label, and geographic fields.

What your events need

hardal.track("generate_lead", {
  lead_id: "LEAD-12345",      // required — unique identifier, prevents duplicates
  name: "Alex Smith",
  category: "Enterprise",     // e.g. Enterprise, SMB, Individual
  type: "demo_request",       // e.g. demo_request, contact_form, trial
  label: "Summer Campaign",   // custom qualifier or source label
  value: 500,                 // estimated lead value
  currency: "USD",
  country: "US",
  city: "New York",
  district: "NY"
});

Parameters

FieldRequiredDescription
lead_idYesUnique lead identifier — prevents duplicate counting
nameNoLead or contact name
categoryNoLead segment (e.g. Enterprise, SMB)
typeNoLead type (e.g. demo_request, contact_form)
labelNoCustom qualifier or campaign label
valueNoEstimated monetary value of the lead
currencyNoCurrency code (required if value is set)
countryNoCountry code
cityNoCity name
districtNoRegion, state, or district
Always pass lead_id. Without it, the same form submission can be counted multiple times if the user reloads the page or the event fires more than once.

Common setup issues

SymptomLikely causeFix
Leads report is emptyWrong event nameUse generate_lead — check spelling exactly
Duplicate lead countsNo lead_idAdd a unique ID from your CRM or form submission
Value shows $0value missingAdd value and currency to the event
No category breakdowncategory not passedAdd category to segment leads by type

View Sessions report

Track the sessions that lead to your lead events