Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to website analytics and management. Specifically, for the 'Sites Manager' resource and the 'Get Image Tracking Code' operation, it retrieves the image tracking code for a specified site. This is useful for users who want to embed or use the Matomo image tracking pixel for tracking website visits without JavaScript. The node supports a wide range of query parameters to customize the API request.

Use Case Examples

  1. A user wants to get the image tracking code for a specific website to embed it in an email campaign where JavaScript is not supported.
  2. A user needs to automate the retrieval of tracking codes for multiple sites managed in Matomo for integration into different platforms.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as site ID, date, format, and other Matomo-specific options.

Output

JSON

  • response - The JSON response from the Matomo API containing the image tracking code or related data.

Dependencies

  • Matomo API

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause an error.
  • Verify that the 'idSite' query parameter is set correctly to specify the site for which the image tracking code is requested.
  • Check network connectivity and Matomo API availability if requests fail.
  • If the API response is empty or unexpected, verify the query parameters and operation selected.

Links

Discussion