How do I use server-side tracking with Matomo?

Use the Matomo Tracking API to send tracking data from your server instead of the visitor’s browser. This is done via HTTP requests to your Matomo instance with parameters like idsite, url, action_name, and rec=1.

Server-side tracking is invisible to ad blockers and useful for tracking API calls, mobile apps, or IoT devices. It can be combined with client-side tracking for complete coverage.

Have some questions? We have your solution.