Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to website analytics and management. Specifically, for the 'Sites Manager' resource and 'Get Pattern Match Sites' operation, it retrieves a list of sites that match a specified pattern. This is useful for users who want to filter and manage their tracked websites based on URL patterns or other criteria. The node supports a wide range of query parameters to customize the API request, allowing detailed and specific data retrieval from Matomo.

Use Case Examples

  1. Retrieve all sites matching a specific URL pattern to manage or analyze them collectively.
  2. Filter sites by access level or other attributes to generate reports or perform batch updates.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter and customize the API request for pattern matching sites, such as pattern, patternType, permission, limit, offset, and others.

Output

JSON

  • json - The JSON response from the Matomo API containing the list of sites matching the specified pattern and any associated metadata.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause an error.
  • Verify that the pattern and patternType parameters are correctly set to match the desired sites; incorrect patterns may return empty results.
  • Check network connectivity and Matomo API availability if requests fail or time out.
  • If the API returns an error, review the error message for details on invalid parameters or permission issues.

Links

Discussion