Visitors
UTM parameters, referrer, entry page, country and device of every unique visitor.
Laravel Rust is here, and SimpleStats supports it from day one. The official client crate tracks visitors, registrations and payments right inside your app, so you see which channel brings paying customers.
No credit card required
UTM parameters, referrer, entry page, country and device of every unique visitor.
Implement the TrackablePerson trait on your user model, and every signup and login is linked to the channel it came from.
Implement the TrackablePayment trait on your payment model to see revenue, MRR and churn per channel.
Views per visitor and bounce rate, collected on the server without a script in the browser.
Track your own events and attach properties like plan or company size to users and visitors.
No cookies of its own, no stored IP addresses and no consent banner. It only uses the session your app already has, and ad blockers never see it, because nothing runs in the browser.
API calls run as queued jobs, so no request waits for our API.
Your Rust app runs as one long-lived process, so page views are collected in memory and sent as one batch per minute.
Same API, same dashboard. Track a Laravel app on PHP and one on Rust side by side in the same team.
Install SimpleStats
# Add the client crate
cargo add simplestats-laravel-rust-client
# .env
SIMPLESTATS_API_TOKEN=your-project-tokensrc/app.rs
// src/app.rs
Application::configure()
.with_providers(|providers| {
providers.add(simplestats::SimplestatsServiceProvider::new().track_users::<User>());
})
// src/models/user.rs
impl simplestats::TrackablePerson for User {}Add the client crate with Cargo.
Register the service provider in src/app.rs and implement the TrackablePerson trait on your User model.
Add the API token of your project to your .env file.
Visitors and page views are tracked from the next request. Implement the TrackablePayment trait on your payment model to track revenue.
Every option is explained in the README on GitHub.
Yes. The crate is released as 1.0 and follows semantic versioning. Laravel Rust itself is still a 0.x beta, so we update the crate whenever the framework changes its APIs. It sends its data to the same API as our PHP client.
No, SimpleStats sets no cookies of its own and never stores IP addresses. It only uses the session your app already has. Google Analytics does set cookies, so visitors in the EU have to consent before it may run. Details are on our compliance page.
No. The client sends its data through your queue, so no request waits for our API.
Yes. Both clients send to the same API, so every app shows up as its own project in the same dashboard, with the same KPIs and reports.
All of them. Laravel Rust has no Cashier yet, so the crate ships no provider adapters. Implement the TrackablePayment trait on the model where you store payments, and every payment is tracked, no matter if it comes from Stripe, Paddle or any other provider.
Yes. The crate is MIT licensed and on GitHub, and SimpleStats itself is open source under the AGPL-3.0 license.
No credit card required