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 'Disable Preview Mode' operation, it disables the preview mode for a specified Google Tag Manager container within a Matomo site. This is useful for managing tag deployment states in GTM containers programmatically. The node supports a wide range of query parameters to customize the API request and can also send a JSON request body for POST operations.

Use Case Examples

  1. Disable preview mode for a specific GTM container by providing the container ID and workspace ID as query parameters.
  2. Use the node to manage tag deployment states in automated workflows, such as disabling preview mode after testing tags.

Properties

Name Meaning
Query Parameters Collection of key-value pairs to customize the API request, including identifiers like containerId and workspaceId, and other optional parameters relevant to the Tag Manager API.
Request Body JSON object to send as the request body for POST, PUT, or PATCH operations, allowing detailed configuration or data submission to the Matomo API.

Output

JSON

  • response - The JSON response from the Matomo API call, which varies depending on the resource and operation executed.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the specified container ID and workspace ID (if applicable) are correct and exist in the Google Tag Manager account linked to Matomo.
  • Check the operation and resource names for typos or unsupported values to prevent unknown resource or operation errors.
  • If the API returns an error, review the error message for details and ensure the request parameters and body conform to the Matomo API specifications.

Links

Discussion