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 the 'Get Medium' operation in this context. It allows users to query campaign medium data for a specific site and period, enabling detailed analysis of traffic sources and campaign effectiveness. This is useful for marketers and analysts who want to track and report on the mediums driving traffic to their campaigns, such as email, social media, or paid ads.

Use Case Examples

  1. Retrieve the medium of traffic for a specific marketing campaign on a website to analyze which channels are most effective.
  2. Fetch campaign medium data for a given site and date range to generate reports on marketing performance.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter and customize the API request, such as site ID, date, period, segment, and other campaign-related filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested marketing campaign medium data

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the query parameters are correctly formatted and valid for the selected operation to prevent API request failures.
  • Check the Matomo API documentation for the correct method names and required parameters for the 'Get Medium' operation to avoid invalid method errors.
  • If the API response is empty or returns a 204 status, confirm that the requested data exists for the specified site and period.

Links

Discussion