Check the counts and the grain.
- Purchasing and eligible visits reconciled to the source.
- One visit counted once, regardless of clicks or order lines.
- Complete period and test-traffic exclusion checked.
Platform / Consistency
Keep the business meaning, scope and data behind the number explicit. Every answer can show the calculation.
The definition changes the answer.
Which number do we trust?
Illustrative definitions and values. Matching answers require the same definition, scope, permissions, period and data snapshot.
261 purchasing visits / 10,000 eligible visits. Test traffic is excluded. This is the approved checkout conversion definition in the example.
Including test visits changes the denominator. That answer should not be compared to the approved number as though the scope matched.
Counting order lines can count several lines from one purchasing visit. That double-counts purchasing visits and gives the wrong conversion rate.
Purchases relative to started checkouts describe checkout completion. Give checkout completion a separate name and approved definition.
Business meaning with provenance
Import the work your team already trusts. Reconcile differences before publishing a shared definition.
| Part of the definition | Approved rule | Source |
|---|---|---|
| Formula | Purchasing visits ÷ eligible visits | dbt metric |
| Grain & join | One row per visit; orders join on session_id | Sessions model |
| Eligibility | Human, external visits | KPI glossary |
| Exclusions | Bots filtered upstream; internal visits excluded | Sessions model + SQL |
| Period & scope | Sunday–Saturday, Pacific; online only | Trading report |
The glossary says “human and external.” The SQL only removes internal visits. Bicycle flags the gap. The owner confirms that bots are already filtered in the sessions model, and that source becomes part of the reviewed rule.
Illustrative checkout conversion v3. Each rule records the source. a model’s proposed reconciliation is not an approved definition.
Open the answer’s evidence
A result is easier to trust when you can review the supporting work.
The record includes the executed query, source as-of time and returned counts. A reused answer points to the original calculation and explains why reuse was valid.
SELECT
COUNT(DISTINCT CASE WHEN purchased THEN visit_id END) AS purchasing_visits,
COUNT(DISTINCT visit_id) AS eligible_visits
FROM approved_visit_facts
WHERE eligible = TRUE AND in_complete_week = TRUE;Illustrative names; the reviewed mapping determines the real query. The ratio is calculated from these counts.
Source freshness and validation status travel with the result. If an exclusion or mapping is unconfirmed, the answer says so; matching the arithmetic does not validate the business definition.
Corrections have a destination
“Show mobile only” changes the requested scope. The answer names that filter; the shared conversion definition is unchanged.
“Visit-to-order rate” can be an approved alias. “Checkout completion” is a different metric. An ambiguous “conversion” prompts clarification or a stated approved default.
Draft a revision with the reasons and sources for the change.
Run old and proposed definitions on the same data.
The metric owner approves the shared change.
Record the version and effective date. Earlier answers keep the version they used.
From a semantic model to a decision model
The model supplies the meaning, possible checks and action rules. The current case records the observed West mobile decline, evidence for the price-gap explanation and the specific proposed response.
The definition can be reused next week. This week’s explanation does not automatically become next week’s cause.
Bring a metric your team already cares about. See the work Bicycle can take on.
The fastest way to try Bicycle. Ask in plain language and watch it detect a KPI move, explain the cause, and show the safe next step.
Learn more