Automated Anomaly Insights

Know what changed before a silent drop costs a week of pipeline.

TrimStats compares rolling 7 completed UTC days against the prior 7-day baseline every 6 hours to flag real traffic drops, spikes, conversion dips, and friction surges.

Imtiaz Rayhan
Imtiaz RayhanCo-Founder & Lead Engineer, DotCamp & TrimStats
Specs verified against production TrimStats source
Seeded demo workspace
TrimStats Automated Insights view flagging a +173.8% traffic spike on /features/ai-traffic driven by chatgpt.com and a +146.2% UI friction spike on /pricingTrimStats Automated Insights view flagging a +173.8% traffic spike on /features/ai-traffic driven by chatgpt.com and a +146.2% UI friction spike on /pricing
  1. 1
    Actionable insight cards: Each insight card shows 14-day trends, top drivers, tailored tips, and one-click links to filtered Overview or UI Friction views.
  2. 2
    Rolling 7-day UTC boundary: Compares 7 completed UTC days against the preceding 7 completed UTC days to eliminate weekday/weekend noise.
Active anomalies surface on your dedicated Insights page with 14-day daily trends, contributing drivers, actionable tips, and direct segment-filter links to root cause.
Direct answer

How does TrimStats detect website anomalies without causing alert fatigue?

TrimStats evaluates 7 completed UTC days against the immediately preceding 7 completed UTC days every 6 hours across four detectors: traffic_drop, traffic_spike, conversion_dip, and friction_spike. Minimum baseline volume guardrails suppress low-traffic noise, and Valkey deduplication caps alert emails to 1 per UTC day per rule.

Comparison window
7d vs 7d

Uses completed UTC days so partial-day and weekend traffic swings never misfire.

Anomaly detectors
4 built-in

Covers site/page/referrer traffic drops and spikes, goal conversion dips, and friction surges.

Background scan
Every 6h

Runs automatically on the collector scheduler with zero manual SQL or query setup.

Email cap
1 / UTC day

Valkey deduplication prevents repeated inbox spam while an anomaly remains active.

Why teams switch to TrimStats for automated anomaly insights

Built directly on ClickHouse, Fastify, and a sub-2 KB browser script to remove legacy analytics blind spots.

Nobody checks analytics dashboards every morning

Broken SEO pages, paused ad campaigns, or failing signup forms often go unnoticed for weeks until monthly pipeline misses target.
TrimStats scans your top 40 pages, top 30 referrers, up to 10 configured goals, and friction routes every 6 hours automatically.

Hourly threshold alerts page you over normal weekend dips

Naive day-over-day or hourly alerts fire false alarms every Saturday morning or whenever a low-traffic blog post moves from 2 visits to 6.
Rolling 7-day UTC windows neutralize day-of-week seasonality, and strict minimum baseline guardrails ignore statistically thin slices.

Generic alerts tell you traffic dropped but not where

A vague "traffic down 15%" email forces you to slice five different reports manually to discover whether Google organic, a referrer, or one landing page fell.
Each insight names the exact dimension value (pathname, referrer domain, or goal name) with current vs baseline numbers and one-click filtering.
01 / Capability

Transparent trigger thresholds and minimum sample-size guardrails

Every TrimStats anomaly detector uses documented, predictable percentage thresholds paired with minimum visitor or conversion floors so every alert reflects a meaningful shift.

  • Site-wide traffic: <= -25% drop or >= +60% spike with >= 50 baseline visitors.
  • Top 40 pages & top 30 referrers: <= -30% drop or >= +80% spike above minimum baseline volume.
  • Conversion dips: <= -25% drop in goal conversion rate with >= 15 baseline conversions.

Minimum percentage change required to trigger each TrimStats anomaly detector

Documented rolling 7-day UTC detector thresholds enforced in collector jobs

%
Site-wide traffic drop(>= 50 baseline visitors)
-25%
Goal conversion rate dip(>= 15 baseline conversions)
-25%
Page / referrer drop(>= 30-40 baseline visitors)
-30%
UI friction spike(>= 15 clicks in 7d)
+50%
Site-wide traffic spike(>= 50 baseline visitors)
+60%
Page / referrer spike(>= 30-40 baseline visitors)
+80%

Lower drop thresholds (-25% to -30%) catch regressions early while higher spike thresholds (+60% to +80%) filter routine referral bumps.

Methodology: Exact production detector constants verified from TrimStats anomaly specification (apps/web/lib/content/facts.ts).

Source: TrimStats canonical product specification
View chart data table
LabelAbsolute trigger threshold
Site-wide traffic drop-25%
Goal conversion rate dip-25%
Page / referrer drop-30%
UI friction spike+50%
Site-wide traffic spike+60%
Page / referrer spike+80%
02 / Capability

Deduplicated email alerts plus weekly and monthly executive digests

Route real-time anomaly alerts to engineering or growth teams while sending calm weekly or monthly performance summaries to founders and stakeholders.

  • Three per-recipient cadences: Weekly digest + alerts, Monthly digest + alerts, or Anomaly alerts only.
  • Valkey deduplication ensures each recipient receives at most one anomaly email per UTC day per rule.
  • Every alert email links directly to your site Insights page.
Seeded demo workspace
TrimStats Anomaly Alerts settings showing Email, Slack, Discord, and HMAC-signed webhook channels with weekly digest cadences and one-click test buttonsTrimStats Anomaly Alerts settings showing Email, Slack, Discord, and HMAC-signed webhook channels with weekly digest cadences and one-click test buttons
Configure per-recipient digest cadences alongside anomaly alerts with full visibility into baseline guardrails and Valkey daily deduplication.
03 / Capability

Connects traffic, goals, and UI friction into one diagnostic loop

When a signup conversion dip coincides with a /checkout friction spike, both appear together on your Insights page with contributing drivers and tailored action checklists so teams correlate the UX bug with revenue impact immediately.

  • Monitors up to 10 conversion goals per site automatically once configured in Site settings.
  • Works identically in default cookie-less mode and opt-in first-party mode.
  • Included on every pricing tier starting with Starter ($17/month).

Automated Anomaly Insights FAQ

Direct answers on implementation, privacy controls, quotas, and data accuracy.

Why does TrimStats compare rolling 7 completed UTC days instead of hourly traffic?
Hourly or day-over-day monitors constantly misfire on normal weekend lulls, timezone shifts, and incomplete current-day data. Comparing 7 completed UTC days against the immediately preceding 7 completed UTC days eliminates weekday seasonality while still catching real drops quickly.
How often does TrimStats scan sites for anomalies?
The collector background scheduler evaluates every active site every 6 hours and updates your Insights page and 30-day history automatically. Active email alert rules are deduplicated in Valkey so each recipient gets at most one anomaly email per UTC day per rule.
Will low-traffic pages trigger noisy false alarms?
No. Every detector enforces minimum baseline guardrails: at least 50 baseline visitors for site-wide alerts, 40 for individual pages, 30 for referrers, 15 baseline conversions for goal dips, and 15 current 7-day clicks for UI friction spikes.
Do I need to write custom alert rules or SQL queries?
No. Site traffic, top 40 pages, top 30 referrers, configured conversion goals, and opt-in UI friction pages are monitored automatically out of the box. You only add email recipients and choose your preferred digest cadence in Site settings.
Are automated anomaly insights gated behind an enterprise plan?
No. Automated anomaly insights and email digests are included on every TrimStats plan tier, including Starter ($17/month), Growth ($44/month), and Scale ($134/month).
How does TrimStats anomaly detection differ from GA4 Custom Insights?
GA4 Custom Insights requires manual rule creation and uses sampled exploration estimates on high-volume properties. TrimStats scans exact ClickHouse totals every 6 hours across traffic drops, traffic spikes, goal conversion dips, and UI friction surges automatically using transparent rolling 7-day UTC guardrails.
Can founders receive weekly digests while engineers get anomaly alerts only?
Yes. TrimStats supports per-recipient notification cadences in Site settings so founders can subscribe to Weekly or Monthly digests plus alerts, while on-call engineers receive deduplicated Anomaly alerts only capped at one email per UTC day per rule.
Imtiaz Rayhan
Engineered & documented by
Imtiaz Rayhan (Co-Founder & Lead Engineer, DotCamp & TrimStats)

Co-founder of DotCamp LLC in Brooklyn, NY and lead engineer of TrimStats. Ships privacy-first web analytics, ClickHouse pipelines, and WordPress plugins used on 115,000+ active sites.

  • • Architect of the TrimStats 1.96 KB gzipped browser tracker, Fastify collector, and ClickHouse MergeTree pipeline
  • • Co-founder of DotCamp LLC (est. 2019), creator of Ultimate Blocks (50,000+ installs), WP Table Builder (50,000+ installs), Tableberg, and OptimizeCamp
  • • WordPress.org plugin & theme developer since 2016 with 1,200+ community support replies and 5M+ cumulative plugin downloads

Verification standard: All script sizes (1.96 KB gzipped), plan limits, and dashboard behaviors on this page are verified directly against the TrimStats repository and seeded acme.dev workspace as of 2026-11-30.

Try automated anomaly insights with one 1.96 KB gzipped script

Every TrimStats tier from Starter ($17/month) through Scale ($134/month) includes full access to revenue attribution, UI friction, anomaly insights, funnels, and cohorts.

Verified against live TrimStats specifications.