Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Matomo reporting API

Security covered Under active development 144 sites

Part of the Matomo ecosystem · 7 projects

This module provides developers with an API to access statistics from the Matomo web analytics platform. It allows integration of Matomo data into other projects without a user interface.

This module provides an API to retrieve statistics from the open source Matomo web analytics platform. This module is intended for developers to integrate statistics in their projects. It has no UI for end users or site builders.

Requirements

  • A Matomo server
  • Matomo server configuration details:
    • Authorization token
    • Site ID (e.g. 1)
    • Secure (HTTPS) Matomo server URL

The Matomo reporting API PHP library PHP library is automatically installed when using composer.

For more information see the README

Recommended modules

It is recommend to use the Matomo Analytics module.
The Matomo reporting API module is usually used as an extension of the Matomo Analytics module but can also be used standalone. In case the Matomo Analytics module is enabled you can reuse its configuration so that the user doesn't need to input the same settings twice.

Security

Make sure that the authentication token is stored in a safe place and that for communication with the Matomo server a secured HTTPS URL is being used.

For detailed security information see the README

Examples

See the matomo_reporting_api_example module for an example implementation of a block that shows some Matomo statistics.

Drupal 8–11

Ask your assistant about Matomo reporting API

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Oct 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
3.0.1 Stable 8–11 Feb 28, 2025
3.0.0 Stable 8–11 Dec 9, 2023
3.0.x-dev Dev 10–11 PHP >=8.1 Oct 3, 2023