Change currency to USDEUR
  • Up to 4 users unlimited websitesFree 30-day trial, then 33EUR/year
  • 5 to 15 users unlimited websitesFree 30-day trial, then 66EUR/year
  • Unlimited users unlimited websitesFree 30-day trial, then 99EUR/year

Want to know who did what, and when? Keep an eye on everything that is happening on your Matomo (Piwik) platform with this plugin.

The activity log, also known as audit log or audit trail, improves your Matomo's security and diagnostic by showing a chronological set of entries that provides documentary evidence of activities that happened in your Matomo.

It allows Matomo Super Users to quickly review the actions performed by members of your organization or clients, and also lets every user review details of their own actions.

Supported activities

So far this plugin supports over 80 different type of Matomo activities, for example:

  • See when a user logged in, failed to log in, or logged out,
  • See when a user was created, updated or deleted by who,
  • See when a website was created, updated or deleted by who,
  • See when a Matomo setting, an A/B Test, a Scheduled Report, or a Segment was changed and by who.

For a full list of supported activities have a look in the FAQ.

Features

  • Logs all important activities a Matomo user can perform.
  • Includes details such as who performed the action, what the action was, and when it was performed.
  • Super Users can view activities of all users and filter by user.
  • Users with view or admin access can view their own activities.
  • An Activity Log widget can be added to your Matomo dashboard to always have an eye on it.
  • Export the Activity Log UI and embed it via an iframe to share it with others.
  • Simple HTTP API provide all activity log entries as JSON, XML, ...
  • Gravatar support can be enabled to see avatars next to your user's activities.

More information

To learn more about the plugin have a look at the Activity Log FAQ.

This plugin is built and maintained by the creators of Matomo.


View this plugin for a specific Matomo version:

What does Activity Log do?

The Activity Log plugins keeps a record of all important activities performed by your Matomo (Piwik) users on your Matomo. You can view all activities that happened in the past in a chronological order to see who did what and when.

The Activity Log allows Super Users to quickly review the actions performed in Matomo by members of your organization or clients. It also lets every one of these user also review details of their own actions.

Why is it important to keep an eye on these activities?

There are many reasons why it is important, for example:

  • Accountability: It helps you to identify which users were associated with a certain activity or event.
  • Intrusion Detection: It helps you to monitor data for any potential security breach or misuse of information.
  • Problem Detection: It helps you to identify problems, why something happened and when.

Who develops & maintains the Activity Log plugin?

The plugin is developed and maintained by InnoCraft, the company of the makers of Matomo. At InnoCraft, talented and passionate developers build and maintain the free and open source project Matomo. This ensures that the plugin is well integrated, kept up to date and automatically tested whenever a change is made. By purchasing this plugin you also help the developers to being able to maintain the free and open source project Matomo itself.

How do I access the activity log?

First you need to log in to your Matomo.

If you are a Super User, go to "Administration" and click in the "Diagnostic" section on "Activity Log".

As a user with view or admin access you can see your activity log entries by clicking on "Personal" in the top right corner followed by clicking on "Activity Log" in the left menu.

Who has access to the activity log?

Super Users are able to see all activities and can also filter activities by user.

All other users can view their own activities.

Can the activity log data be exported?

You can use the Matomo HTTP API to query activities.

The plugin currently adds the following API methods to your Matomo:

  • ActivityLog.getEntries Returns logged activity entries.
  • ActivityLog.getEntryCount Returns the number of available activity entries.

An export feature will be also available in the UI soon.

How long will the activity data be stored?

Activities are stored forever, there are no limits. If you are interested in a feature to setup an automatic purge of activities after a certain time, let us know.

How do I enable Gravatar images in the activity log?

Gravar means Globally Recognized Avatar. When enabled, it will try to find a matching avatar image for your users so you can easily see which user has performed which activity. An avatar image may be shown next to an activity in the activity log. This feature is not enabled by default as our plugins do not send any of your data or metadata to external web services for privacy compliance.

To enable Gravatar images, log in to Matomo as a Super User and go to "Administration => Plugin Settings", where you can enable the Gravatar setting.

As a developer, how do I log activities done within my custom plugin?

To log custom activities happening in your custom plugin, you can define Activity classes (extending Piwik\Plugins\ActivityLog\Activity\Activity). You need to place these classes in a directory named Activity within any plugin. The Audit log will then include all such activities recorded by your plugin.

How can I export the Activity Log UI to embed it somewhere else?

First you need to log in to your Matomo. Then click on "Personal" in the top right corner and click on "Widgets" in the left menu. There you can find the widget "Activity Log" in the "Diagnostic" section. Below the widget the URL to export it is shown. To learn more about this, read the Embed Matomo Widget user guide.

Which events / activities are being tracked?

The audit log reports all these activities:

  • Annotation added
  • Annotation changed
  • Annotation deleted
  • Custom Alert added
  • Custom Alert changed
  • Custom Alert deleted
  • Custom Dimension configured
  • Custom Dimension changed
  • Goal added
  • Goal changed
  • Goal deleted
  • Measurable created
  • Measurable changed
  • Measurable removed
  • Plugin installed
  • Plugin uninstalled
  • Plugin activated
  • Plugin deactivated
  • Scheduled report created
  • Scheduled report changed
  • Scheduled report deleted
  • Segment created
  • Segment updated
  • Segment deleted
  • Site access changed
  • Site settings updated
  • Super user access changed
  • User created
  • User removed
  • User changed
  • User logged in
  • User failed to log in
  • User logged out
  • User settings updated
  • User sets preference

Other plugins' activity log events:

  • A/B testing
    • Experiment created
    • Experiment settings updated
    • Experiment status changed (Started, Finished, Archived)
    • Experiment deleted
  • Referrers Manager
    • Search engine added
    • Search engine removed
    • Social network added
    • Social network removed

Do I get access to the raw data that was tracked?

Yes, if you host Matomo yourself you get access to all data that is stored in your MySQL database. The data is stored in a table called piwik_activity_log. The data is also made easily available via the Activity Log HTTP Reporting API.

  • activity log

Do you have a question about this plugin? Email us

View this plugin for a specific Matomo version:


Please share