Integrations & Playbooks

Built for modern web stacks and revenue-driven SaaS teams.

One 1.96 KB gzipped script works across Next.js, Astro, WordPress, Shopify, and Webflow while signed webhooks connect directly to Stripe, Paddle, and Polar.

Compatibility summary

Which frameworks and billing providers work natively with TrimStats?

TrimStats loads as one deferred 1.96 KB gzipped script with automatic history.pushState SPA tracking for Next.js, React, Vue, and Astro alongside static HTML and CMS sites. On the server side, TrimStats verifies signed revenue attribution webhooks natively for Stripe, Paddle, Polar, and custom HMAC endpoints.

Framework & billing integrations

Team use cases

Integration & compatibility questions

Quick answers on SPA routing, billing webhooks, and multi-site agency setups.

Does TrimStats require an npm SDK for Next.js, Astro, or React SPAs?
No npm package is required. One deferred 1.96 KB script tag automatically hooks history.pushState and popstate for Next.js App Router, Pages Router, Astro View Transitions, React, and Vue without increasing your JavaScript bundle size.
Which billing providers support native TrimStats revenue attribution webhooks?
TrimStats natively verifies raw cryptographic webhooks for Stripe, Paddle Billing, Polar.sh (Standard Webhooks), and custom HMAC-SHA256 endpoints. Each verified payment joins back to first-touch and last-touch attribution over a 90-day ClickHouse lookback.
Can agencies and indie hackers manage multiple client sites under one plan?
Yes. Starter ($17/month) covers up to 5 sites, Growth ($44/month) covers up to 25 sites, and Scale ($134/month) covers up to 100 sites, each with isolated tracking keys, shareable read-only dashboard links, and EU data residency.
Verified by Imtiaz Rayhan against live TrimStats tracker and webhook handlers.