Prompt
Why are my SaaS events not matching my account-level usage?
Latest observation
Nov 9, 2026
OpenAI APIWeb search: off
This usually happens because your event data and your account-level usage are measuring different things, at different levels of aggregation, or with different filtering rules.
Common reasons:
-
Different entity level
- Events are often recorded at the user/session/action level.
- Usage metrics may be aggregated at the account/workspace/org level.
- If users switch accounts, belong to multiple accounts, or events aren’t always tagged with the correct account ID, the totals won’t line up.
-
Duplicate or missing events
- Events can be duplicated by retries, client-side double fires, background refreshes, or webhook replays.
- Events can also be lost due to network issues, SDK initialization problems, ad blockers, or failed ingestion.
-
Different time windows
- Event timestamps may use client time, ingestion time, or UTC.
- Account usage may be calculated on billing cycles, rolling windows, or server-side processing time.
- A mismatch in timezone or cutoff can cause apparent discrepancies.
-
Filtering differences
- One system may exclude internal users, test accounts, bots, or spam traffic.
- Another may include them.
- Also check whether one metric counts only “active” events while the other counts all events.
-
Sampling or deduplication
- Analytics tools sometimes sample or deduplicate events.
- Usage systems often use authoritative backend records and may not match sampled analytics exactly.
-
Late-arriving data
- Events may arrive hours later and be counted in a different period.
- Account usage dashboards may update in real time or with a lag.
-
Definition mismatch
- “Usage” might mean API calls, active seats, billable actions, storage, or compute time.
- Your event stream may include clicks, page views, feature usage, or state changes that don’t correspond 1:1.
-
Identity resolution issues
- If user/account IDs are merged, anonymized, or changed, events can be attributed differently than usage records.
What to check first:
- Confirm both systems use the same account identifier
- Compare the same time range and timezone
- Check for deduplication rules
- Verify whether test/internal traffic is excluded consistently
- Compare backend-authoritative usage logs against event counts
- Look for missing account IDs on events
If you want, I can help you debug this systematically with a checklist or a SQL/query approach.