Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations. Specifically, for the 'Referrer' resource and the 'Get Number Of Distinct Social Networks' operation, it retrieves the count of distinct social networks that have referred traffic to a specified site. This is useful for understanding the diversity and reach of social media sources driving traffic to a website. Practical applications include marketing analysis, social media performance tracking, and traffic source diversification assessment.

Use Case Examples

  1. A marketing analyst wants to know how many different social networks are sending visitors to their website to evaluate the effectiveness of their social media campaigns.
  2. A website owner wants to monitor the variety of social networks contributing to their referral traffic to identify new potential platforms for promotion.

Properties

Name Meaning
Query Parameters Optional parameters to filter or specify the data for the API call, such as site ID, date range, segment filters, etc.

Output

JSON

  • numberOfDistinctSocialNetworks - The count of distinct social networks referring traffic to the site.

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 'resource' is set to 'Referrer' and the 'operation' is set to 'Get Number Of Distinct Social Networks' to avoid incorrect API method calls.
  • Check that the query parameters are correctly formatted and valid for the Matomo API to prevent request failures.
  • If the API response is empty or returns '204 No Content', verify that the site ID and date range parameters correspond to periods with available data.

Links

Discussion