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 'Connect Account' resource and 'Create Matomo Tag' operation, it enables the creation of a Matomo tag within a specified Google Tag Manager (GTM) container and workspace. This is useful for users who want to automate the management of Matomo tags in GTM, facilitating tracking and analytics setup without manual intervention. For example, a user can programmatically create tracking tags in GTM containers to monitor website interactions via Matomo.

Use Case Examples

  1. Automate creation of Matomo tags in GTM containers for multiple websites.
  2. Manage GTM workspaces and containers by listing and creating tags programmatically.
  3. Integrate Matomo tag management into a CI/CD pipeline for web analytics deployment.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as container ID, workspace ID, and other tag-related settings.
Request Body JSON object containing the request payload for creating the Matomo tag, specifying tag configuration details.

Output

JSON

  • response - The JSON response from the Matomo API after creating the Matomo tag, containing details of the created tag or operation status.

Dependencies

  • Matomo API credentials (domain and auth token) are required for authentication.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the 'resource' is set to 'Connect Account' and the 'operation' is 'Create Matomo Tag' to use this functionality.
  • Check the format and content of the 'Request Body' JSON to match the expected API schema for creating a Matomo tag.
  • Network issues or incorrect Matomo domain URL can cause request failures; verify connectivity and URL correctness.

Links

Discussion