Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Custom Dimension' resource, specifically supporting the 'Configure New Custom Dimension' operation among many others. It allows users to configure new custom dimensions by sending appropriate API requests with user-defined query parameters and request bodies. This node is beneficial for users who want to automate and manage their Matomo analytics setup, including custom dimensions configuration, through n8n workflows. For example, it can be used to programmatically create new custom dimensions in Matomo based on dynamic input data or automate updates to existing dimensions.

Use Case Examples

  1. Automate the creation of new custom dimensions in Matomo for tracking specific user interactions.
  2. Configure custom dimensions with specific scopes and settings based on input data from other nodes.
  3. Integrate Matomo custom dimension configuration into a larger analytics data pipeline for automated reporting and analysis.

Properties

Name Meaning
Query Parameters A collection of key-value pairs representing the query parameters to be sent with the API request. These parameters control various aspects of the custom dimension configuration and other API operations.
Request Body A JSON object representing the request body to be sent with POST, PUT, or PATCH API requests. This contains the detailed configuration data for the custom dimension or other resources.

Output

JSON

  • json - The JSON response from the Matomo API, which may include details of the configured custom dimension or other requested data.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause the node to throw an error.
  • Verify that the query parameters and request body are correctly formatted and valid for the selected operation to avoid API errors.
  • Check the API method and resource names for correctness; unknown resources or operations will cause errors.
  • If the API response is empty or unexpected, verify the Matomo server status and API endpoint accessibility.

Links

Discussion