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 the 'Get Available Scopes' operation. It allows users to retrieve all available scopes for custom dimensions configured in a Matomo site. This is useful for analytics and tracking customization, enabling users to understand and manage the scope levels (e.g., action, conversion, visit) at which custom dimensions apply.

Use Case Examples

  1. Retrieve all available scopes for custom dimensions in a Matomo site to configure analytics tracking appropriately.
  2. Use the node to fetch scope options before creating or updating custom dimensions to ensure correct data segmentation.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to filter or specify the API request details, such as site ID, scope type, or other custom filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the available scopes for custom dimensions.

Dependencies

  • Matomo API authentication token and domain URL

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the 'resource' parameter is set to 'Custom Dimension' and the 'operation' parameter is set to 'Get Available Scopes' to avoid unknown resource errors.
  • Check the query parameters for correctness and supported values to prevent API request failures.
  • If the API response is empty or malformed, verify the Matomo server status and API endpoint accessibility.

Links

Discussion