# Conversion and counting rules: R06, R07, R12, R15, R17, R18, R29

A conversion tag here means a Google Ads conversion (`awct`), Floodlight (`flc`, `fls`), a GA4 event tag sending purchase, generate_lead, sign_up or a name passed as a conversion or key event, a Measurement Protocol purchase in Custom HTML, or Custom HTML or a template calling an ad platform's purchase or lead event. "Biddable" conversions (Google Ads, Floodlight, purchases, and Google Ads actions with primary_for_goal true) raise the status to RED on a P2 FAIL. Checked against Google's trigger, firing option and ecommerce documentation on 2026-11-01; the firing options help and the API's tagFiringOption values re-checked on 2026-11-06.

Two Google Ads tag types are not conversion tags here, so the counting rules never rate them. The Calls from Website Conversion tag (`awcc`) goes on the pages where the phone number appears (Google Ads help) and swaps in a forwarding number; Google records a call that lasts longer than the minimum you set, not the page load, so All Pages is normal when the number is on every page. The User-Provided Data Event tag (`awud`) sends user-provided data for enhanced conversions; the conversion tag counts. R11 reads both conversion IDs. R01 treats `awud` as a Google Ads tag with built-in checks (Google's list names conversion tracking and remarketing, not this tag, so confirm it in Tag Assistant) and raises a WARN P2 on `awcc`, because Google says support for Phone Call Conversions is pending. Neither code is on Google's published tag type list (they were read in public Tag Manager templates), so check a tag in the UI if its type looks wrong.

## Intent versus outcome

A click, a form submit or a page view is intent; a confirmed order or an accepted lead is the outcome. Page-based conversions count reloads, back-button visits and bookmarked confirmation pages. Google Ads treats a repeat of the same conversion action and transaction ID as a duplicate, and GA4 deduplicates web purchases on transaction_id, so an order ID is the minimum protection, not a fix.

## R06 conversion-broad-trigger

- FAIL P1: a conversion fires on All Pages, Initialization, any unfiltered page view, click, form or timer trigger, a custom event pattern that matches most internal events, or a consent event trigger with no page or event condition (every banner interaction records one).
- FAIL P2: Google Ads, Floodlight or purchase conversions on click, link click, form submission or element visibility triggers, whatever the filters; any conversion on a form trigger with Check Validation off. Floodlight sales tags (`fls`), purchases, leads and sign-ups always stay here.
- WARN P2, click-based actions: a Google Ads conversion (`awct`) or Floodlight counter (`flc`) on a click or link click trigger that targets tel:, mailto: or sms: links, file downloads or another host (a Click URL condition that excludes the site's host, or names a host that is not in `--hosts`), or whose matched Google Ads action has category OUTBOUND_CLICK, CONTACT, PHONE_CALL_LEAD, GET_DIRECTIONS, DOWNLOAD, ENGAGEMENT or MESSAGE_LEAD (needs `--ads-actions` with conversion_action.category). Google Ads supports click-based actions, so this needs a decision, not a fix: confirm the action counts clicks on purpose, is not a primary bidding goal unless decided, and counts one per click. A matched action with an outcome category (PURCHASE, SUBMIT_LEAD_FORM, SIGNUP and similar) keeps the FAIL.
- WARN P3: a Floodlight counter (`flc`) on All Pages or an unfiltered page view, the usual Campaign Manager 360 site-visit or remarketing counter. Confirm it is a site-visit counter that bidding does not use.
- WARN P2: leads and sign-ups on interaction triggers; a conversion on a page view filtered by URL or path (thank-you pages); a consent event trigger with a page condition (treat it as page-based); the message adds when a Google Ads tag sends no Transaction ID and when the tag does not require additional consent.
- Agent adds: a page-based conversion can be the only option on a hosted checkout. Keep it, add the order ID and record the reason. For click and form conversions that should be outcomes, propose a data layer event pushed after the server accepts the submission. Category values come from the Google Ads API v26 ConversionActionCategory enum; check the field reference at run time.
- Confirm, four cases: a rejected submission, a double click, a successful submission, a reload of the success page. Pass: exactly one outgoing conversion request, only for the success case, carrying the order ID.

## R07 conversion-scoped-trigger

- FAIL P2, needs `--hosts`: a conversion's trigger restricts Page Hostname with a condition that excludes a host the config lists as one where conversions complete. Nothing errors; that host's conversions stop. List conversion hosts only, not every host the journey crosses (a hosted payment page usually fires nothing).
- WARN P2: a conversion on a custom event trigger that also requires another condition (hostname, path, locale, account type), stronger when a condition-free trigger for the same event exists (a rollout that matched triggers by event name can wire a global conversion to a scoped one); conversion tags of one type where some carry an exception and others do not. Custom HTML and template conversions are compared per vendor; for Google tags the message warns that a consent exception means basic mode for that tag.
- Agent adds: a scope written in the tracking plan is fine; except it with the plan reference. An equals on Page Path also drops trailing slashes, localized paths and SPA routes.
- Confirm: fire the business event on each host and locale served. Pass: one conversion per host.

## R12 ecommerce-data

- FAIL P2: `sendEcommerceData` stored with a type other than BOOLEAN (API writes have stored the tag without its data source while returning success); "Send Ecommerce data" from a custom object with no object named.
- WARN P2: ecommerce data on with no data source stored; purchase with no ecommerce data and no transaction_id; a Data Layer Variable on version 1 with a dotted name (returns undefined for nested keys); Custom HTML pushing ecommerce without first pushing `{ ecommerce: null }`; a GA4 event sending value without currency (GA4 needs currency whenever value is sent, counting the Google tag's shared event settings); a Google Ads conversion with a value and no currency code (Google Ads reads it in the account currency).
- Agent adds: the site's own pushes are not in the container. In Preview, open the Data Layer tab on the purchase event and check the previous message cleared ecommerce.
- Confirm: DebugView or the outgoing request on one test purchase shows transaction_id, a numeric value, currency and items.

## R15 wildcard-events

- FAIL P2: a custom event trigger that matches `gtag.config` fires a conversion tag or a GA4 tag that forwards `{{Event}}`. Since 8 October 2026, gtag config commands surface as `gtag.config` events that wildcard triggers may catch.
- WARN P3: the same trigger on other tags; a forwarding tag whose triggers are not anchored allowlists.
- WARN P2: an allowlist forwarder and a dedicated GA4 tag send the same name to the same measurement ID on triggers that fire on the same event.
- PASS: forwarders whose every trigger is an anchored allowlist (equals, or a regex such as `^(purchase|refund)$`); the forwarded names are listed and R19 checks them.
- Confirm: in Preview, `gtag.config` in the event list fires no conversion or forwarding tag.

## R17 firing-options

- FAIL P2 (key unlimited-sequence): a conversion set to Unlimited that fires on its own trigger and is also the setup or cleanup tag of another active tag that can fire on the same event. The API reference says an Unlimited tag can fire more than once per event, and the firing options help says Unlimited is only used with tag sequencing, so that event can send the conversion twice: once from its own trigger and once in the sequence. Set Once per event, or remove its own trigger.
- WARN P2 (key unlimited-overlap): a conversion set to Unlimited with two or more triggers that can match the same event. Google documents no second request for this case, so count the conversion requests for one matching event in Preview, and set Once per event either way, since Google documents Unlimited only for tag sequencing.
- WARN P2: Once per page on a GA4 event or conversion tag that fires on custom event or history change triggers in a container with single-page app signals (history change triggers, or `--spa`). A route change is not a page load, so later events of that kind are dropped.
- WARN P3: Unlimited on any other conversion (Google's help: Unlimited is only used with tag sequencing; Once per event prevents duplicate data); `liveOnly` true on a conversion, consent or Google tag, so Preview and debug sessions never show it. Read the setting's label in the tag's advanced settings; the API documents the field, not the label.
- INFO: tags with a non-default priority. Priority orders tags on one event; it does not make a tag wait.
- Confirm: Preview for Unlimited cases: count the conversion requests that leave for one matching event (for the sequence case, the event where the other tag's sequence and the tag's own trigger both fire). Pass: one request. An agreed production test order with its reference for live-only tags.

## R18 event-pattern-allowlists

GTM regex conditions match substrings, so an allowlist without anchors also catches failure and attempt events.

- FAIL P2: a custom event trigger used by a conversion or forwarding tag matches an unanchored list of names (or uses contains) that also matches another known event name. Known names are the exact names in the container plus `--plan-events`, `--key-events` and conversion events. Example: `purchase|add_payment_info` also matches `purchase_failed`.
- FAIL P2: an equals event name with leading or trailing whitespace on a trigger any tag uses; it never matches.
- WARN P2: the same unanchored list when only hypothetical names match (name_failed, name_error, name_start, name_attempt, pre_name).
- WARN P3: ignore case on an event-name regex used by GA4 or conversion tags; GA4 event names are case-sensitive.
- Fix: `^(purchase|add_payment_info)$`. JavaScript RegExp is used because Google does not name the regex flavour for web triggers; confirm complex patterns in Preview.
- Confirm on staging: push the near-miss name in Preview. Pass: the conversion tag does not fire. On a live site this sends real hits, so it needs approval.

## R29 value-and-id-variables

- FAIL P2: a variable used as a transaction or order ID (Google Ads and Floodlight orderId, GA4 transaction_id) is a Constant, has a non-empty default value, or converts undefined or null to a literal. Every order missing an ID then shares one value, and Google Ads and GA4 treat the later ones as duplicates. A literal typed into the orderId field fails the same way.
- WARN P2: value or revenue variables with a constant default or an undefined-to-literal conversion (missing revenue becomes a believable number).
- WARN P3: a Lookup or RegEx Table whose outputs are destination IDs and that has no default, so unmatched input sends to undefined.
- WARN P4: two Data Layer Variables reading the same key and version.
- Agent adds: a missing ID should look missing. Alert on empty IDs in reporting instead of filling them.
- Confirm on staging: a test order pushed without an ID sends no order ID rather than the default.
