How ChangeTrace works
The path from a change on your site to an answer on your dashboard — and how long each step takes.
Almost everything ChangeTrace does happens on a schedule, in the background. Knowing that schedule is the difference between "the product is broken" and "it hasn't run yet."
The pipeline
The plugin records what happens
Two kinds of thing, collected separately:
- Changes — a plugin installed, activated, deactivated, updated or removed; a theme switched or updated; WordPress core updated; the PHP version changed; a watched option changed. Also PHP fatals, JavaScript errors, failed outbound requests and timeouts.
- Sales — WooCommerce and Easy Digital Downloads orders, refunds, failed payments, and checkouts started and failed, with the amount and your store currency.
Events pile into a small queue on your site and get sent every five minutes, up to 50 at a time. Nothing is sent until the batch is accepted, so a brief network problem loses nothing.
ChangeTrace checks your site is up
Every five minutes, from outside your hosting, ChangeTrace requests your homepage. This has nothing to do with the plugin — it works even when your site is completely down, which is exactly when you need it.
Sales get totalled by the hour
Every ten minutes, incoming orders are rolled up into hourly revenue and order totals per site. This is what the Overview charts read.
Once a day, yesterday gets compared to normal
At 1:00 AM UTC, ChangeTrace takes the last complete day and compares it against your own trailing 7-day average. If revenue or orders fell far enough, and by enough relative to how much your numbers normally bounce around, it opens an incident.
Every half hour, incidents get explained — and re-explained
A separate job pulls everything that changed in the 24 hours before an incident began (and during it) and scores each change on five signals: timing, errors that followed, whether those errors came from the component that changed, measured page-speed degradation, and a revenue or order fall after it.
It then moves the incident from draft to open.
The same job re-scores an incident when its evidence changes — late-arriving events, or a performance comparison that only became measurable a day later. How correlation scores →
Once a day, recovered incidents close themselves
At 2:00 AM UTC, a sales incident whose metric has been back to normal for two consecutive complete days is resolved automatically. Incident lifecycle →
Old data is cleared out
Once a day at 3:00 AM UTC, events and metrics older than your plan's history window are deleted. On the Free plan that is 7 days.
When each thing appears
| Signal | First appears | Then updates |
|---|---|---|
| Changes on the Timeline | ~5 minutes | Every 5 minutes |
| Revenue & Orders | ~10 minutes after the first order | Every 10 minutes |
| Site marked "Healthy" | After the first hourly heartbeat | Hourly |
| "Heartbeat Missing" | After 2 hours of silence — or 24 hours while outside checks reach your site | — |
| Outage incident | ~10 minutes into real downtime | Probed every 5 minutes |
| Sales-drop incident | After ~7 days of history, then daily at 1:00 AM UTC | Daily |
| Checkout failure incident | ~20 minutes into a failure spike | Checked every 10 minutes |
| Ranked causes on an incident | Up to 30 minutes after it opens | Re-scored when new evidence arrives |
| Incident moves draft → open | When ranked causes are written | — |
| Server response time | From the first uptime check | Every 5 minutes |
| Page-speed (PSI) impact of a change | ~24 hours after the change, if enabled | — |
| Sales incident auto-resolves | After 2 clean days, checked at 2:00 AM UTC | — |
Why sales incidents are daily and not instant
A single slow hour is not a sales drop — shops are quiet at 3 AM and busy on payday. Comparing whole days against your own 7-day pattern is what keeps ChangeTrace from emailing you about normal Tuesday-afternoon quiet. The cost is that a real drop takes up to a day to surface. Outages and checkout failure spikes, which are unambiguous, are reported in minutes instead.
The two halves, and why it matters
Your site talks to ChangeTrace using a site token, created when you connect and never shown again. You talk to ChangeTrace by logging in. They are completely separate: your login cannot send data for your site, and your site's token cannot read your dashboard.
Practically, this means losing your site token is not a login problem, and deleting a site does not affect your account.
{ }For developers
Plugin → API is Authorization: Bearer site_tok_…, SHA-256 hashed server-side; only the hash is
stored. Human → API is a Clerk session JWT resolved to an internal user and organization. Site
ownership hangs off the organization, never a user, which is why dashboard reads are
org-scoped and a site you do not own returns 404 rather than 403.

