Skip to main content

Connect Matomo

This article covers how to connect Matomo to a Client in AgencyAnalytics, requirements, and common Matomo integration questions.

Written by AgencyAnalytics Team

Matomo

Matomo is an open-source web analytics platform that lets businesses track, analyze, and optimize website traffic while maintaining full data ownership and privacy compliance.


Before You Start

To avoid a failed connection or error when connecting Matomo to a Client, the person connecting must have:

  • View access to the sites they'd like to get data from

  • A valid auth token from Matomo


Connect Matomo

Once the requirements above are met, follow these steps to connect Matomo to a Client.

Step 1: Open the Client where you'd like to connect Matomo, then click the Data tab at the top.

Step 2: Click the blue Connect Source button in the upper right corner of the page.

Step 3: Search for Matomo in the search bar at the top, then click the Matomo card.

Step 4: Click Connect New Account to launch the authorization window. If you've previously connected an account, click the gray Plus (+) sign at the bottom instead.

Step 5: On the next page, enter your server's URL and a valid auth token from Matomo.

Step 6: Click Save in the bottom left corner to finalize the connection.


FAQ

What is the token_auth, and where can I find this token?

The auth token is a private key that lets a third party securely access your Matomo data via API. Review this Matomo help article to find your auth token.

Can I use a "Secure Only" auth token with AgencyAnalytics?

Yes. The Matomo integration only sends data using POST requests, so a token created with the "Secure Only" setting in Matomo will work without issue.

How do I align my Matomo Revenue metrics in the Matomo integration with my Revenue metrics on the native Matomo platform?

Here's a table showing common native Matomo Revenue metrics alongside their corresponding AgencyAnalytics Matomo integration Revenue metrics:

Native Matamo Revenue Metric

Matomo Integration Revenue Metric

Revenue by Search Engine, Social Network, or Channel

Acquisition Revenue

Revenue by Browser or Country

Visitor Revenue

Product Revenue Totals

Product Revenue & Goal Revenue

How do I resolve the "Segment you requested has not yet been created in the Segment Editor, so the report data has not been pre-processed" error?

This error appears when you use (or open a section that uses) the Channel filter without the Channel Type or Referrer Type segment enabled in the native Matomo platform. You can enable this segment in the native Matomo platform by following this Matomo guide.


What to Check Out Next


💬 Need additional help?

If you have any questions, please contact our friendly support team by following these instructions! We're available 24/5 to help 😄

Did this answer your question?