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 to get campaign IDs among other functionalities. It allows users to specify a resource and operation, along with query parameters and request body data, to interact with the Matomo API endpoints. The node is useful for retrieving detailed marketing campaign data, such as campaign IDs, content, groups, keywords, mediums, names, placements, sources, and source-medium combinations for specific sites and periods.

Use Case Examples

  1. Retrieve the campaign ID for a specific site and period to analyze marketing campaign performance.
  2. Fetch detailed campaign content information to understand the components of a marketing campaign.
  3. Get the source and medium data for a campaign to evaluate traffic sources and marketing channels.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify the API request details for the marketing campaigns reporting resource. Includes a wide range of possible filters such as abandoned carts, access level, account ID, action name, active status, anonymization options, date, device type, limit, period, segment, site ID, and many others.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested marketing campaign data, such as campaign IDs and related information.

Dependencies

  • Matomo API credentials (domain and auth token) are required to authenticate requests.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause the node to throw an error.
  • Verify that the resource and operation parameters are correctly set to valid values supported by the Matomo API.
  • Check the query parameters for correctness and completeness to avoid API errors or empty responses.
  • If the API response is empty or unexpected, verify the site ID and period parameters to ensure data availability for the requested scope.

Links

Discussion