Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to marketing campaigns reporting, specifically including the operation to get the campaign name from a source-medium ID. It is useful for users who want to retrieve detailed marketing campaign data from Matomo, such as campaign names, sources, mediums, and other related metrics. For example, a user can fetch the name of a campaign based on a source-medium ID to analyze the effectiveness of different marketing channels.

Use Case Examples

  1. Retrieve the campaign name for a given source-medium ID to understand which marketing channel is driving traffic.
  2. Fetch detailed marketing campaign data to generate reports on campaign performance.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering by date, site ID, or other campaign attributes.

Output

JSON

  • 0 - The JSON response from the Matomo API containing the requested marketing campaign data, such as campaign name from source-medium ID.

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 query parameters are correctly formatted and valid for the selected operation.
  • Check the Matomo API endpoint URL constructed by the node for correctness, especially the method parameter corresponding to the operation.
  • If the API response is empty or unexpected, verify the input parameters and the availability of data in the Matomo instance.

Links

Discussion