You can use the Matomo HTTP API to retrieve and query Activity Log data.

Use the available API methods to access activity entries, count matching records, and identify activity types or items, similar to the filtering options in the Activity Log interface.

  • ActivityLog.getEntries Returns logged activity entries.
  • ActivityLog.getEntryCount Returns the number of available activity entries.
  • ActivityLog.getAllActivityTypes – Retrieves the available activity types.
  • ActivityLog.getAllObjects – Retrieves the available activity objects, corresponding to the Filter by item option in the Activity Log user interface.

An option to export from the user interface is not yet available.

The Activity Log premium feature is available by default in Matomo Cloud and can be installed from the Marketplace for Matomo On-Premise.

Previous FAQ: Who has access to the Activity Log?