Skip to main content
TagManifest /Docs Dashboard

Hardcoded conversion values in ad tags

Conversion tags use hardcoded values instead of dynamic values from the dataLayer. This means every conversion reports the same value regardless of actual transaction amount.

On this page 6

Summary

  • rule_id — hardcoded-conversion-values
  • purpose — Detect ad conversion tags that report a static value instead of the actual transaction amount
  • effect — Every conversion reports the same hardcoded figure, corrupting revenue-based bid optimization
  • layer — container
  • reversibility — non-destructive

What fires this

The rule checks all active tags with type awct (Google Ads Conversion Tracking) or baut (Microsoft UET). For each matching tag, it reads parameters.conversionValue or parameters.revenue and checks whether the value starts with {{. A value that does not start with {{ is not a GTM variable reference — it is a literal. Tags with a non-empty literal conversion value are flagged, and the hardcoded value is included in the issue payload. Paused tags are excluded.

Why it matters

When conversionValue or revenue is a hardcoded number (e.g., 1 or 100), every conversion reports that same figure to the ad platform — regardless of actual transaction amount. Revenue-based bid strategies (Target ROAS, Maximize Conversion Value) optimize against fabricated data. Ad platform revenue reporting becomes unreliable for budgeting and ROI. The fix is a one-field change in the tag; the data integrity gain is immediate.

Before / after

{
  "type": "awct",
  "parameters": {
    "conversionValue": "1"
  }
}
{
  "type": "awct",
  "parameters": {
    "conversionValue": "{{dlv - transaction.value}}"
  }
}

Remediation

  1. Open each flagged tag in GTM and note the hardcoded value in the conversion value field.
  2. Identify the dataLayer key that holds the actual transaction amount (e.g., ecommerce.value, transaction.revenue).
  3. Create a Data Layer Variable for that key if one does not already exist.
  4. Replace the hardcoded value with the variable reference (e.g., {{dlv - transaction.value}}).
  5. Confirm the currency field is also dynamic — hardcoded currency causes the same reporting problem.
  6. Test in GTM Preview mode with a completed conversion and verify the variable resolves correctly.

Metadata

Severity
low
Tier
info
Category
ads
Layer
container
Version
1
Effort
15min (about 15 minutes)
Reversibility
non-destructive

See also

Examples

Evaluate
curl https://developer.tagmanifest.com/v1/evaluate-rule \
  -H "Authorization: Bearer $TM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rule_id":"hardcoded-conversion-values","url":"https://example.com"}'