Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources such as Sites Manager, AB Testing, Actions, and more. Specifically, for the 'Sites Manager' resource and 'Add Site Alias Urls' operation, it allows users to add alias URLs to a specific site in Matomo. This is useful for managing multiple URLs that point to the same site, ensuring accurate tracking and reporting. The node supports a wide range of query parameters to customize the API request and accepts a JSON request body for POST operations.

Use Case Examples

  1. Adding alias URLs to a site to consolidate tracking across multiple domain names.
  2. Managing site URLs programmatically to automate site configuration in Matomo.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as site ID, access level, and other filters.
Request Body JSON object containing the data to be sent in the body of the request, used for POST operations like adding site alias URLs.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the operation performed.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause errors.
  • Verify that the query parameters and request body are correctly formatted as per Matomo API specifications.
  • Check the HTTP method matches the operation type (GET, POST, DELETE, etc.) to avoid request failures.

Links

Discussion