Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Matomo administrator for assistance.

Need more help? Community HelpProfessional Help.

Tracking Code

Matomo offers you various ways to embed the tracking code for your website, mobile app, and even for any device or application.

An alternative to tracking visitors through the browser (either via JavaScript or an image link) is to continuously import server logs. Learn more about Server Log File Analytics.

Not tracking a website? You can alternatively track a mobile app or any other type of application using one of the available SDKs.

The HTTP Tracking API allows you to track anything. This may be useful if you are using a programming language for which no SDK exists yet. It may also be useful when you want to track devices or applications in a special way.

If you are tracking a single-page application (SPA) or progressive web application (PWA), please see this guide.

If your website is using Google Tag Manager, please see this guide.

If your website is using Wordpress, please see this guide.

If your website is hosted on Cloudflare, please see this guide.

If your website is using Vue.js, please see this guide.

If your website is using React, please see this guide.

Available shortcuts