Works with the stack you already run
What mettr works with: SDKs for Laravel, Next.js, Node, Python, Ruby and Go, WordPress, Shopify, site builders, Stripe, Paddle, Polar, Search Console, GitHub and MCP.
Send your traffic and events
- Browser script: one line in your layout for page views, single-page app navigation, outbound clicks, scroll depth and who is online. Any site, any framework.
- JavaScript:
@mettr/browserfrom npm, for apps built with Vite, webpack, Nuxt, SvelteKit or Remix, safe during server rendering. - Any language: the Events API takes JSON from a queue worker, a shell script or a language with no SDK yet.
- Your history: the Import API brings in what you logged before, and
spatie/laravel-activitylogimports with one command.
From your backend
Each server SDK adds the browser script through a route on your own domain, and sends your events, errors, response times and crawler visits, which a script in the page never sees.
- Laravel:
mettr/laravel, with sign-ins, failed jobs and your history fromspatie/laravel-activitylog. - Next.js:
@mettr/next, a component and a middleware for the App Router. - Node.js:
@mettr/nodefor Express, Fastify, Hono, Bun, Deno and Cloudflare Workers. - Python:
mettrfor Django, FastAPI, Starlette and Flask. - Ruby on Rails: the
mettrgem for Rails and any Rack app. - Go:
mettr-gofornet/http, chi, Gin and Echo. - PHP:
mettr/mettrfor any PHP app, with nothing to set up but a secret key.
The SDKs are open source, on GitHub: MIT, and the WordPress plugin GPL as WordPress is.
On your platform
- WordPress and WooCommerce: a plugin for page views, crawlers, 404s, sign-ins, and WooCommerce orders, refunds and subscriptions.
- Shopify: an app with a web pixel for products viewed, carts and checkouts, and every paid order and refund.
- Statamic: an addon with form submissions and sign-ups, the control panel left out.
- Cloudflare: a Worker in front of any site, for crawlers, 404s and the script, with no change to the site.
- Webflow, Framer, Ghost, Wix and Squarespace: one line in the builder's custom code.
Bring in your revenue
- Stripe: MRR, ARR, churn and payments from a restricted key that can only read.
- Paddle: the same from Paddle Billing, with read-only scopes.
- Polar: the same from Polar, with a token that only reads.
- Shopify and WooCommerce: every paid order and refund as it happens, and WooCommerce Subscriptions for MRR.
- Your own billing: LiqPay, Gumroad, a bank, or code of your own: send subscriptions to the Subscriptions API, and mettr works out MRR and its movements.
Each joins the revenue to the source of the visit that brought the customer.
See what Google sees
- Google Search Console: clicks, impressions, CTR, position, top queries and top pages, beside the visits mettr saw land from Google. Read-only access, copied every hour.
Mark your deploys
- GitHub, GitLab and Bitbucket: a deploy hook reads the repository's own webhook and notes each deploy under the traffic chart, with its commit, author and branch.
- Any CI: one request from a deploy step, with ready snippets for GitHub Actions, GitLab CI and Bitbucket Pipelines.
- Anything else: a campaign, a price change, a release note, from a script.
Get alerts where you are
- Email, Slack, Telegram and webhooks: alerts when something goes wrong, and weekly or monthly reports. Webhooks are signed with HMAC-SHA256.
Ask your AI
- Claude, ChatGPT, Cursor and other MCP clients: connect
https://mettr.app/mcpand ask about your sites in plain words, or let the assistant build a dashboard.
On a screen
- TV mode: any TV with a browser plays your dashboards in turn, linked with a code.
- Widgets and scripts: a read-only API with a personal token, for a home screen widget, a status bar or a script of your own.
Something missing? Write to [email protected]: the next integrations are chosen by what customers ask for.
Read on
Laravel analytics
Live analytics for Laravel apps: one composer require sends page views, your events, errors, sign-ins, failed jobs, response times and crawler visits, after the response has gone.
Next.js analytics
Live analytics for Next.js: one component, one middleware, and you see page views, crawler visits, 404s, errors and your own events as they happen.
WordPress and WooCommerce analytics
Live analytics for WordPress: one plugin sends page views, crawler visits, 404s, sign-ins and WooCommerce orders, refunds and subscriptions, with no cookies.
See your site live in two minutes
Free for one site. No card, no cookie banner