Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically, for the 'Custom JS Tracker' resource and the 'Does Include Plugin Trackers Automatically' operation, it checks if plugin trackers are automatically included in the custom tracker. The node is useful for automating and managing Matomo analytics tasks such as retrieving data, managing experiments, and configuring tracking settings. For example, it can be used to programmatically verify tracking configurations or fetch analytics reports.

Use Case Examples

  1. Check if plugin trackers are automatically included in a custom JS tracker setup to ensure accurate data collection.
  2. Retrieve analytics data for a specific site and period using various Matomo API methods.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering by site ID, date, or other Matomo-specific options.

Output

JSON

  • response - The JSON response from the Matomo API call, which varies depending on the selected resource and operation.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly provided; missing these will cause an error.
  • Verify that the selected resource and operation are valid and supported by the Matomo API.
  • Check the format and values of query parameters to avoid API request errors.
  • If the API response is empty or unexpected, confirm that the Matomo instance is accessible and the credentials have sufficient permissions.

Links

Discussion