Web analytics guides for PHP and Laravel
Practical guides for developers who measure their sites from the server, with no identification or tracking cookies, and want to know what they set up.
Each guide answers one question and links to the documentation for the details. The guides that describe another tool give the date their facts were checked and link to that tool's own pages.
Measuring from your application
- Laravel analytics: three ways to measure: middleware, package or browser tag, what each one sees and how to set up the server-side option in a few minutes.
- PHP analytics without JavaScript: measuring page views from plain PHP or Symfony, what you gain and what you give up compared with a script.
Privacy and consent
- Analytics without a consent banner (CNIL): the conditions of the French consent exemption for audience measurement, a checklist that works for any tool, and who decides.
Tools and workflows
- Analytics MCP server for Claude: what an analytics MCP server does, the options available, and how to ask questions about your traffic from an AI assistant.
- Matomo requirements for self-hosting: PHP and database versions, archiving, updates and backups, and when self-hosting is the right call.
Looking for a side-by-side comparison instead? The comparisons cover the main analytics tools one by one.