Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations based on the selected resource and operation. Specifically, for the 'Connect Account' resource and the 'Get GTM Containers List' operation, it retrieves the list of Google Tag Manager containers associated with a specified account. This is useful for users who want to manage or view their GTM containers directly from Matomo's API within an n8n workflow.

Use Case Examples

  1. A marketing analyst wants to fetch all GTM containers linked to a Google Tag Manager account to automate tag management.
  2. A developer integrates Matomo with GTM and needs to list containers to verify configurations or automate container updates.

Properties

Name Meaning
Query Parameters Optional parameters to filter or specify details for the API request, such as accountId to specify the Google Tag Manager account.

Output

JSON

  • containers - List of Google Tag Manager containers returned by the API.
  • status - Status of the API response.
  • message - Any message returned by the API, such as errors or informational messages.

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 an error.
  • Verify that the 'accountId' query parameter is correctly set to fetch GTM containers for the intended Google Tag Manager account.
  • Check network connectivity and API endpoint accessibility to avoid request failures.
  • If the API returns an error, review the error message for details and ensure the Matomo instance supports the requested operation.

Links

Discussion