Visitors
UTM parameters, referrer, entry page, country and device of every unique visitor.
Laravel Go is here, and SimpleStats supports it from day one. The official Go client 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.
Name your User model in bootstrap/app.go, and every signup and login is linked to the channel it came from. It needs no extra methods.
Implement the TrackablePayment interface 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 Go 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 Laravel apps on PHP, Rust and Go side by side in the same team.
Install SimpleStats
# Add the client module
go get github.com/simplestats-io/laravel-go-client@latest
# .env
SIMPLESTATS_API_TOKEN=your-project-tokenbootstrap/app.go
// bootstrap/app.go
Packages: []laravel.Package{
simplestats.New(
simplestats.TrackUsers[models.User](), // no methods needed
simplestats.TrackPayments[models.Payment](), // implements TrackablePayment
),
},Add the client module with go get.
Register the package in bootstrap/app.go and name your User model. It needs no extra methods.
Add the API token of your project to your .env file.
Visitors and page views are tracked from the next request. Implement the TrackablePayment interface on your payment model to track revenue.
Every option is explained in the README on GitHub.
Yes. The module is released as 1.0 and follows semantic versioning. Laravel Go itself is still a 0.x beta, so we update the module whenever the framework changes its APIs. It sends its data to the same API as our PHP and Rust clients.
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. All 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 Go has no Cashier yet, so the module ships no provider adapters. Implement the TrackablePayment interface 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 module is MIT licensed and on GitHub, and SimpleStats itself is open source under the AGPL-3.0 license.
No credit card required