
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
Evergreen guides
How Cookie-less Web Analytics Works & Its Limits
A technical guide to cookie-less web analytics: 24-hour rotating SHA-256 salts, ePrivacy consent boundaries, Core Web Vitals, and dual-mode SaaS tracking.
Web Analytics Funnels: Setup & Drop-Off Analysis
Engineering guide to building accurate 2 to 8 step conversion funnels with ClickHouse windowFunnel(), window sizing, identity modes, and UI friction.
Blog posts & benchmarks
Web Analytics Script Size Benchmark (1.96 KB)
Measured transfer weights and pricing at scale comparing TrimStats (1.96 KB gzipped, 1.73 KB Brotli) against GA4, Plausible, Fathom, and Umami.
Sub-50ms Funnels & Cohorts with ClickHouse SQL
Inside TrimStats ClickHouse schema design: MergeTree sorting keys, windowFunnel(), single-pass uniqCombined64 cohorts, bloom filters, and Valkey caching.
Rage Click & Dead Click Tracking Without Replay
Inside the exact Euclidean rage-click clustering, 500 ms structural MutationObserver dead-click check, and CSS selector hints built into TrimStats 1.96 KB t.js.
Competitor comparisons
TrimStats vs Fathom Analytics: Pricing, Funnels & Revenue
Compare TrimStats ($17-$134/mo with funnels, cohorts, signed revenue webhooks, UI friction) vs Fathom ($15-$140/mo, unlimited retention, uptime monitor).
TrimStats vs Umami Cloud: Revenue Webhooks, Pricing & UX
Compare TrimStats ($17-$134/mo with Stripe/Paddle/Polar webhooks, anomaly alerts, UI friction) vs Umami Cloud ($0 Hobby, $20 Pro + overages, $200 Business).
TrimStats vs PostHog: 1.96 KB vs 50 KB Analytics Compared
Compare TrimStats (1.96 KB, cookie-less default, $134/mo at 5M, signed revenue webhooks) vs PostHog (~45-55 KB posthog-js, 1M free tier, $152.90/mo at 5M).
TrimStats vs Simple Analytics: Pricing, Script & Revenue
Compare TrimStats ($17-$134/mo, 1.96 KB, zero seat fees, Stripe/Paddle/Polar webhooks) vs Simple Analytics ($20-$120/mo + $20/seat, 3.7 KB latest.js).
TrimStats vs Matomo: 1.96 KB ClickHouse vs Matomo Cloud
Compare TrimStats (1.96 KB, $17-$134/mo EU ClickHouse) vs Matomo (~22 KB matomo.js, $42-$975/mo Cloud or PHP/MySQL self-hosting with heatmaps and replays).
Feature & integration guides
SaaS Revenue Attribution via Payment Webhooks
Connect signed Stripe, Paddle, Polar, or custom webhooks to TrimStats to attribute SaaS revenue, renewals, and refunds to referrers and landing pages.
Rage Click & Dead Click UI Friction Analytics
Pinpoint broken buttons, rage clicks, dead clicks, and 90% scroll reach with exact CSS selector hints inside a 1.96 KB tracker and zero session-replay bloat.
Cookie-less EU Privacy-First Web Analytics
Measure real-time traffic under 2 KB gzipped with zero cookies, 24h rotating salts, Germany EU hosting, and an optional per-site first-party ID toggle.
Website Traffic & Conversion Anomaly Alerts
Catch traffic drops, viral spikes, conversion dips, and UI friction surges automatically against rolling 7-day baselines with deduplicated email alerts.
Next.js Privacy-First Web Analytics (App Router)
Add TrimStats to Next.js App Router or Pages in 60 seconds. 1.96 KB script, automatic pushState SPA tracking, strict CSP compatibility, and zero cookies.
Astro Web Analytics: 1.96 KB & View Transitions
Add privacy-first web analytics to Astro with one 1.96 KB is:inline defer script that preserves 100/100 Lighthouse scores and tracks View Transitions natively.
Stripe Revenue Attribution Analytics Webhooks
Connect signed Stripe webhooks to TrimStats to attribute subscriptions, renewals, and refunds to referrers, UTM campaigns, and landing pages over 90 days.
Paddle Billing Revenue Attribution Analytics
Connect signed Paddle Billing transaction.completed webhooks to TrimStats to attribute SaaS subscriptions, renewals, and multi-currency MRR over 90 days.
Polar.sh Revenue Attribution Analytics Webhooks
Attribute Polar.sh orders, subscription renewals, and refunds to referrers and landing pages using Standard Webhooks verification and 90-day ClickHouse joins.
Webflow Privacy-First Analytics (1.96 KB Script)
Install lightweight EU-hosted analytics on Webflow in 60 seconds via Head Code. Track forms, outbound clicks, funnels, and rage clicks without GA4 bloat.
Privacy-First Web Analytics Built for SaaS Teams
Measure SaaS acquisition, multi-step onboarding funnels, weekly retention cohorts, Stripe/Paddle/Polar revenue, and UI friction in one 1.96 KB script.
Web Analytics for Indie Hackers ($17/mo)
Track up to 5 indie SaaS apps, Stripe/Polar/Paddle revenue, launch spikes, and public share dashboards in one 1.96 KB cookie-less script from $17/month.