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 'Get Container Install Instructions' operation, it fetches the installation instructions for a Google Tag Manager container associated with a Matomo site. This is useful for users who want to programmatically retrieve the embed code or installation guidelines for their GTM containers managed within Matomo.

Use Case Examples

  1. A marketing analyst wants to automate the retrieval of GTM container installation instructions for multiple sites to ensure consistent tag deployment.
  2. A developer integrates this node in a workflow to fetch and display GTM container install instructions as part of a site audit process.

Properties

Name Meaning
Query Parameters Optional parameters to filter or specify details for the API request, such as containerId, workspaceId, or context (web or mobile). These parameters customize the request to get precise installation instructions.

Output

JSON

  • containerInstallInstructions - The installation instructions or embed code for the specified GTM container.

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 an error.
  • Verify that the containerId and other query parameters are correctly specified to avoid empty or incorrect responses.
  • Check network connectivity and Matomo API availability if requests fail.
  • If the API returns an error, review the error message for details on permission issues or invalid parameters.

Links

Discussion