Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Lead value hardcoded the same for every lead type: how to fix it

TRK-060Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Most lead tracking sends a generate_lead event (or a Google Ads conversion) with a value and a currency. The value tells the ad platform how much the lead is worth. Hardcoded means someone typed one number into the tag or the code, and every lead gets it. A quick-quote form, a demo request and an enterprise enquiry all report, say, 10 USD.

Hardcoded value (the problem)javascript
gtag('event', 'generate_lead', {
  value: 10,
  currency: 'USD',
  form_id: 'contact'
});

Why it costs you leads or sales

What the ad platform seesExample numbers
What the ad platform sees (example)Newsletter-style enquiry (real): 5 USD per lead; Standard quote (real): 60 USD per lead; Enterprise demo (real): 400 USD per lead; Reported for all (hardcoded): 10 USD per lead015330756040010Newsletter-style enqu…Standard quote (real)Enterprise demo (real)Reported for all (har…USD per lead

Example: real lead worth versus the value reported when it is hardcoded to 10. Numbers are illustrative.

Where the information is lost
  1. Visitor picks a serviceForm knows the lead type
  2. Lead event firesvalue fixed at 10
  3. GA4 / Google AdsAll leads look equal
  4. BiddingCannot favour high-value leads

The lead type is known on the site but never reaches the ad platform as a value.

How to check if your site has it

Find out whether values differ
  1. Open GA4 DebugView

    In GA4 go to Admin > DebugView, then submit a test lead of each type (different forms, services or plans). Click the lead event and read the value parameter each time.

  2. Compare in Reports

    Use Explore, add the event name generate_lead, and break down Event value by your lead-type parameter (form_id, service). If one value appears for everything, it is hardcoded.

  3. Inspect the tagGoogle Tag Manager

    In Google Tag Manager, open the lead tag and look for a typed number in the Value field or event parameters. In Google Ads, open Goals > Conversions and check whether the action uses the same value for each conversion.

  4. Search the codeCustom code

    Search your theme or scripts for gtag('event', 'generate_lead' and for send_to conversion calls with a literal value.

How to fix it

Example: a value map for lead types (illustrative numbers)
Lead typeClose rateAverage dealValue to send
Callback request10%$50050
Quote form25%$2,000500
Demo request20%$10,0002000
Send a different value per lead type
  1. Push the value from the page

    On submit, push a dataLayer event with lead_type and value (see the code below), or add a Lookup Table variable that maps a form ID or service field to a value.

  2. Create a Data Layer Variable

    Variables > New > Data Layer Variable, name it lead_value. Use a Lookup Table variable if the value is derived from a field.

  3. Use it in the tag

    In the GA4 event tag, add parameters value = {{lead_value}} and currency = your ISO code (for example USD). In a Google Ads conversion tag, set Conversion Value to the same variable.

Value per lead typejavascript
const LEAD_VALUES = { callback: 50, quote: 500, demo: 2000 };

function trackLead(leadType) {
  const value = LEAD_VALUES[leadType];
  if (value === undefined) return; // unknown type: do not guess
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    event: 'generate_lead',
    lead_type: leadType,
    value: value,
    currency: 'USD'
  });
}

// call after a successful submit
trackLead('quote');

How to confirm it's fixed

Confirmation checks
  • In DebugView, each lead type shows its own value and a currency
  • Value is a plain number, not a string or zero
  • GTM Preview shows the variable resolving for every form
  • After a day or two, GA4 Explore shows several distinct Event value amounts for generate_lead
  • Google Ads conversion status is Recording and shows varied values
  • Unknown or missing lead types do not send a made-up value

How to prevent it happening again

Prevention habits
  • Keep the lead-value map in one documented place (one variable or one object), not copied into each tag
  • Add a new lead type to the map before launching a new form
  • Review values against real closed deals every quarter
  • Re-test every form in DebugView after theme, plugin or GTM changes
  • Note the value logic in your tracking documentation so agencies and new staff do not reset it to a constant

How FunnelGuard handles this

How the problem builds up
  1. Launch

    Tracking set up with a placeholder value of 10 to get conversions recording

  2. Month 1

    New forms are copied with the same tag and value

  3. Month 3

    Value-based bidding is switched on using flat values

  4. Month 4

    Value per lead type added and bidding re-learns

Questions people ask

Why does every lead show the same value in GA4?

Because the tag or code sends one fixed number, such as value: 10, for every lead event. GA4 only reports what it receives. Send a value that depends on the lead type to see different amounts.

Should I send a value with generate_lead in GA4?

Yes, if you want value-based reporting or bidding. Send value as a number together with a currency code like USD or GBP. If you cannot estimate worth, leave value out rather than send a meaningless constant.

How do I set different conversion values for different forms in Google Tag Manager?

Create a Data Layer Variable or a Lookup Table that returns a value for each form or lead type. Then put that variable in the Value field of the GA4 event or Google Ads conversion tag, with a currency.

How do I decide what a lead is worth?

Multiply your average deal size by the close rate for that lead type. If you lack data, use relative values that reflect how much more one lead type is worth than another, and refine them later.

Is a hardcoded lead value always wrong?

No. If all your leads really are worth about the same, a constant is fine. It becomes a problem when lead types differ a lot in worth and you rely on value for bidding or reports.

Does a hardcoded value stop Google Ads recording conversions?

No, conversions are still counted. The loss is in optimisation: Google Ads cannot prefer higher-value leads when every conversion carries the same value.

Does FunnelGuard detect hardcoded lead values?

No, not yet. FunnelGuard checks that lead journeys work and that tracking hits are sent, but it does not judge whether the value is the same on every lead. Check this manually in GA4 DebugView and Explore.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.