Skip to main content

Monitor tracking plan data quality in Console

Console shows the results of event specification inference and event specification validation next to your tracking plans and event specifications. Every event volume figure is split into valid events, inferred events, events with violations, and failed events. You can see how well an implementation matches its specification without querying your warehouse.

Metrics cover the last 30 days for one pipeline at a time. Every view that shows them has a pipeline selector, which defaults to your production pipeline.

Understand the event categories

Console sorts every event that the pipeline matches to a published event specification into one of four categories:

CategoryMeaning
Valid eventsEvents that arrived with an event_specification entity and passed validation
Inferred eventsEvents that the pipeline matched to the specification by inference. Inferred events are valid events too, but the pipeline doesn't validate them
Events with violationsEvents that arrived with an event_specification entity, failed validation, and were loaded to your warehouse with an event_specification_validation entity attached
Failed eventsEvents attributed to the specification that ended up in failed events. This includes events with schema violations, and events that failed validation in a tracking plan that sends them to failed events

Only events that arrive with an event_specification entity go through validation, so only they can end up as valid events or events with violations. Tracking code generated with Snowtype attaches this entity for you. Events without it can only be matched by inference.

The total volume is the sum of the four categories. Where Console shows a bar next to a volume, each segment is one category. Hover over the bar to see the count for each category.

Failed event counts come from your data quality dashboard, not from the Console API. They are available when the selected pipeline loads failed events into your warehouse, the data quality dashboard is connected to that pipeline, and you have permission to view it. Otherwise the failed events category shows N/A, volumes exclude failed events, and a warning icon next to the volume explains why.

View data quality for a tracking plan

Open a tracking plan to see its Data quality panel. The chart shows the total number of events across all event specifications in the plan, split by category, with the share and count of each. Click View details to open the data quality dashboard for the selected pipeline, or the failed events page when the dashboard isn't connected.

E-commerce Web tracking plan page with a Data quality panel showing a donut chart of 139.78k total events on the prod pipeline over the last 30 days, split into valid events, inferred events, events with violations, and failed events, above an event specifications table with a volume bar per specification

The event specifications table shows the same breakdown per event specification in its Volume column. The Last seen column shows the most recent event for the specification, whether it was valid or failed.

The Data quality rules button in the page header controls whether events that fail validation count as events with violations or as failed events. See Send invalid events to failed events.

Compare tracking plans and event specifications

The Tracking plans list shows the volume breakdown for every tracking plan in its Event volume column. The Event Catalog shows it for every event specification across all tracking plans in its Volume column. Both views have a pipeline selector next to the filters.

Tracking plans list with a pipeline selector set to prod and an Event volume column showing a count and a colored bar for each tracking plan

Event Catalog filtered to published event specifications and sorted by tracking plan, with a pipeline selector and a Volume column showing a count and a colored bar for each event specification

Track specification versions and application IDs

Each event specification has a Tracking summary tab that breaks the metrics down by specification version and application ID. Use it to check that a new version has reached all applications, or that an application still sends an old version.

Tracking summary tab of the Add to cart event specification listing versions 1 and 2, the app IDs that sent each version with green, yellow, and gray status badges, the last seen date, and a volume bar

Each row is one version of the specification that the pipeline saw events for in the last 30 days. The App ID column lists the application IDs that sent those events, with a status for each:

StatusMeaning
Green checkThe app ID belongs to a source application of this version and sent events
Yellow warningThe app ID sent events, but doesn't belong to any source application of this version
Gray minusThe app ID belongs to a source application of this version, but didn't send events in the last 30 days

A yellow status usually means that an application tracks the event without being listed in the specification. Add its source application to the specification, or remove the tracking from that application.