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, the 'Sites Manager' resource with the 'Get All Sites' operation allows users to retrieve a list of all sites tracked in Matomo. This is useful for scenarios where you need to manage or analyze multiple websites, such as fetching site details for reporting or administrative purposes.

Use Case Examples

  1. Retrieve all sites tracked in Matomo to display in a dashboard.
  2. Fetch site information to automate site management tasks.
  3. Use the list of sites to filter or segment analytics data in workflows.

Properties

Name Meaning
Query Parameters Optional parameters to filter or customize the API request when getting all sites. These can include filters like access level, site group, or other Matomo-specific query options.

Output

JSON

  • ``
    • idSite - The unique identifier of the site.
    • name - The name of the site.
    • main_url - The main URL of the site.
    • creation_date - The date the site was created.
    • excluded_ips - IP addresses excluded from tracking for the site.
    • excluded_parameters - Query parameters excluded from tracking for the site.
    • timezone - The timezone setting of the site.
    • currency - The currency setting of the site.

Dependencies

  • Matomo API credentials (domain URL and authentication token)

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the API endpoint URL is correct and accessible from the environment where the node runs.
  • Check that the query parameters provided are valid according to Matomo API documentation to avoid request errors.
  • If the API returns no content, the node outputs a '204 No Content' status, indicating no data was found for the request.

Links

Discussion