Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple Matomo resources. Specifically for the 'Multi Channel Conversion Attribution' resource and the 'Set Goal Attribution' operation, it allows users to set the attribution model for a specific goal in Matomo. This is useful for marketers and analysts who want to customize how conversions are attributed to different marketing channels within their Matomo analytics setup.

Use Case Examples

  1. Setting a custom attribution model for a goal to better understand the contribution of different marketing channels.
  2. Updating goal attribution settings to reflect changes in marketing strategy or campaign tracking.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering, access levels, and other Matomo-specific options.
Request Body A JSON object containing the data to be sent in the body of the POST request to set the goal attribution model.

Output

JSON

  • * - The JSON response from the Matomo API call, which varies depending on the operation and resource used.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

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 'resource' and 'operation' parameters are correctly set to 'multiChannelConversionAttribution' and 'multiChannelConversionAttributionSetGoalAttributionPost' respectively for setting goal attribution.
  • Check the format of the 'requestBody' JSON to ensure it matches the expected structure required by the Matomo API for the set goal attribution endpoint.
  • If the API returns an error, review the error message and stack trace provided by the node for debugging.

Discussion