E-commerce rules
Checks for broken revenue tracking, missing funnel steps, wrong trigger patterns, and marketing platform integrations that bypass the consent framework.
On this page 5
E-commerce rules audit the parts of a GTM container responsible for revenue tracking, funnel measurement, and marketing platform integrations. The category is narrow by design. These rules fire only on containers where ecommerce tracking is present — a container with no purchase events produces no ecommerce findings.
The stakes in this category are higher than they look. A single misconfigured flag can cause GA4 to record every ecommerce event while silently dropping all the data those events are supposed to carry. Revenue appears as $0. Nothing looks broken. The problem surfaces only when someone opens the Commerce report expecting numbers.
What this category covers
The category covers four distinct concerns.
Revenue data transmission. GA4 reads ecommerce data from the dataLayer through a specific flag on each event tag. When that flag is off, the tag fires and the event records — but the items array, transaction_id, value, and currency fields are not included in the hit. This is the configuration behind most "GA4 says we sold nothing" reports. The fix is a single toggle in the tag settings.
Trigger correctness. Ecommerce action events — add_to_cart, begin_checkout, add_payment_info, and similar — should fire when the dataLayer receives the corresponding push from the site. When these tags run on page-load triggers instead, they fire on every page view that matches the trigger condition. Event counts inflate to multiples of the actual user action rate.
Funnel completeness. A container that tracks purchase but none of the upstream steps (view_item, add_to_cart, begin_checkout) cannot support funnel analysis in GA4. The funnel exploration report starts at checkout with no visibility into product discovery or cart behavior. Revenue tracking works; attribution and path analysis do not.
Marketing platform integrations. Tools like Klaviyo, Segment, and Braze are commonly implemented as Custom HTML tags. These implementations are harder to audit and maintain than native GTM templates or server-side integrations. They also collect behavioral data — product views, cart additions, purchase events — that typically requires user consent. This category checks both the integration pattern and whether consent is configured appropriately.
How findings are tiered
The ecommerce category contains one warning and four optimizations — no errors or info findings.
The warning (ecommerce-no-send-data) reflects a specific asymmetry: the configuration failure is silent, the impact is severe, and the fix is a single-tag change. It sits below error because the container continues to function and other tracking is unaffected. It sits above optimization because the data loss is not hypothetical — it happens on every ecommerce event fired by the affected tags.
The four optimizations reflect gaps in coverage or integration quality rather than active breakage. Revenue tracking may be working. These findings point to where the implementation could be more complete or more maintainable.
See Health score for how tier weights translate to score deductions.
Rules in this category
Warnings
ecommerce-no-send-data— GA4 ecommerce event tags are missing the "Send Ecommerce data" flag; items, revenue, and transaction ID are not sent to GA4
Optimizations
ecommerce-event-wrong-trigger— Ecommerce action events (add_to_cart,begin_checkout, etc.) are firing on page-load triggers instead of custom event triggersecommerce-incomplete-funnel— Container trackspurchasebut is missing two or more upstream funnel steps needed for GA4 funnel analysisecommerce-tool-custom-html— Ecommerce marketing platforms (Klaviyo, Segment, Braze, etc.) are implemented as Custom HTML tags rather than native templates or server-side integrationsecommerce-tool-consent— Custom HTML tags containing ecommerce marketing tools are not configured with a consent requirement
Common patterns
The most common ecommerce finding is ecommerce-no-send-data appearing alongside a functioning purchase event. The tag fires, GA4 records the event, and the implementation appears complete in GTM's preview mode. The problem only becomes visible in GA4's Commerce reports, where revenue is $0 and the Items dimension is empty. Teams often discover this weeks or months after launch.
Wrong-trigger findings tend to cluster around the same container. When one ecommerce event tag is misconfigured with a page-load trigger, the others often are too — the pattern suggests a copy-paste implementation where the trigger was never changed from a default.
Marketing tool findings frequently travel together. A container with Klaviyo via Custom HTML will often also lack a consent requirement on that tag. The integration pattern and the consent gap share the same root cause: the tool was added manually, outside of a structured tagging process.
See also
- Health score — how findings translate to score deductions
- Rules catalog — browse all rules across every category
- Consent rules — the adjacent category for consent framework coverage
Examples
curl https://developer.tagmanifest.com/v1/scan-url \
-H "Authorization: Bearer $TM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","category":"ecommerce"}'