Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the Activity Log resource, specifically including the ability to get the count of activity log entries matching specified filters. It is useful for users who want to retrieve analytics data about user activities logged in Matomo, such as counting entries based on custom query parameters. For example, it can be used to count how many activity log entries exist for a certain user or activity type within a given time period.

Use Case Examples

  1. Count the number of activity log entries for a specific user login.
  2. Retrieve the total count of activity log entries filtered by activity type.

Properties

Name Meaning
Query Parameters Collection of optional filters and parameters to refine the API request for activity log entry count, such as filtering by user login or activity type.

Output

JSON

  • count - The count of activity log entries matching the specified filters

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the query parameters used for filtering are valid and supported by the Matomo API to prevent request failures.
  • Check network connectivity and Matomo server availability if API requests fail or time out.
  • If the response is empty or returns a 204 status, confirm that the filters applied actually match existing activity log entries.

Links

Discussion