Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically, for the 'Tag Manager' resource and the 'Enable Preview Mode' operation, it enables preview mode for a container within Google Tag Manager. This is useful for testing and debugging tags before publishing them live. Users can specify query parameters and a request body to customize the API call.

Use Case Examples

  1. Enable preview mode for a specific GTM container by providing the container ID and workspace ID.
  2. Use the node to toggle preview mode on or off for a container to test tag configurations before deployment.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, such as account ID, container ID, workspace ID, and other tag manager related settings.
Request Body JSON object representing the request payload for POST operations, allowing detailed configuration of the API call.

Output

JSON

  • * - Response data from the Matomo API call, which can vary depending on the operation and resource used.

Dependencies

  • Requires Matomo API credentials including domain and authentication token.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause errors.
  • Verify that the specified resource and operation are supported by the Matomo API to avoid unknown resource errors.
  • Check the format of query parameters and request body JSON to prevent malformed request errors.
  • If the API response is empty or a 204 No Content status, verify that the requested operation is expected to return data.

Links

Discussion