Looker Studio is a powerful tool that allows you to pull data from multiple sources and use that data to create detailed, customized reports. The Matomo Analytics Connector for Looker Studio makes your Matomo reports available in Looker Studio.

Having your Matomo metrics available in Looker Studio can open up new possibilities in your data analyses:

  • Blend your Matomo data with entirely different data sources and gain insights across your entire organisation.
  • Use one of the many community visualisations available to display your data exactly the way you want.
  • Create reports that focus specifically on the data that’s most important to you and the users of your reports.

If you’re a user of Looker Studio and would like to use your Matomo data in the reports you create, this guide will show you how.

Matomo Connector for Looker Studio Requirements

Before you use the Matomo Connector for Looker Studio, please make sure you fulfil the following requirements:

  • The connector will work with many versions of Matomo, but will work best with Matomo version 4.14 or later. Your data will still display if you have a pre-4.14 version, but your metrics will not be formatted correctly, and you will find it harder to manipulate them.
  • You should have a note of the URL you use for Matomo as your Matomo URL is used as a username when connecting to Looker Studio.
  • You will need to create an auth token in your Matomo prior to using the connector. You can create an auth token by following the steps in this FAQ
  • And of course, you will need a Google account from which to access Looker Studio.

Connecting to your Matomo data and adding your first report

To use the Matomo Connector for Looker Studio, you’ll want to follow Looker Studio’s workflow for adding a new data source.

  1. Open the report you would like to add the Matomo Connector to. Locate the Add Data button and click it.
    Screenshot of the Add data toolbar option in Looker Studio

  2. Within the connector search sheet that loads, search for Matomo Analytics.
    A screenshot of the top of the "Add data to report" popup in Looker Studio. The "Connect to Data" tab is selected and the search input used to look for connectors is visible with the text 'matomo' in it.

  3. There will be several third party connectors for Matomo, be sure to select the official one, that states it is created By Matomo.
    Matomo Analytics Community Connector

  4. Click Authorize to enable the Matomo Connector for Looker Studio. Note that the connector will only access Matomo reports to process your requests in Looker Studio. It will not collect your email address or any other other personal information from your Google account.
    Matomo Analytics Authorisation Screen

  5. Provide your Matomo credentials so the connector can access your Matomo instance and then click submit.

    • For the Username, enter the full URL to your Matomo instance, starting with https://, for example https://matomo.myorganization.com/.
    • For the Token, enter the auth token you have already created for the Looker Studio connector, or you can create an auth token by following the steps in this FAQ.
      A screenshot of the Matomo Analytics Connector's request for credentials to your Matomo instance. There are two inputs, one labeled "Username" where you put your Matomo URL, and another labeled "Token" for the auth token.
      A note on security: entering these credentials will allow the Matomo Connector to get your data to Looker Studio, but we, the authors of the connector and Matomo, will not access your Matomo data. Your confidential credentials to Matomo are only directly accessible to the user that enters them. The Matomo Connector for Looker Studio will only access your credentials when requesting data from the target Matomo and for the purpose of generating your Looker Studio dashboards. If you’d just like to test out the connector, you can use our public demo by connecting to https://demo.matomo.cloud/. Enter anonymous as the Token.
  6. Select the Website/Measurable you would like to connect to and click Next.
    "A screenshot of the first part of the MatomoConnector configuration which displays a select dropdown for the website you'd like to see Matomo data for."

  7. You should now be able to see the configuration workflow where you’ll be able to connect the report.
    A screenshot of the second phase of configuring the connector. The website select is still visible with "Demo Site" selected. Additionally there is a Report select, a Segment select and a text input for Default Row Limit. The All Visits segment is selected by default for the Segment.

    • For Report, select the report you would like to see in Looker Studio. As an example, we’ll select the Visitors > Country report.
      Note: due to the way Looker Studio works the connector can only connect you to a single report, but you can configure multiple data sources to get around this. We’ll show you how in the next section of this guide.)
    • For Segment, select the segment you’d like data pulled from. By default, the connector will get data from the All Visits segment, but you can change this if you’d like.
    • (Optional) You can also make the segment parameterisable by checking the Allow “Segment” to be modified in reports. checkbox:
      A screenshot of the part of the Matomo Connector configuration: a checkbox next to them saying 'Allow "Segment" to be modified in reports.'
      This will allow report creators to change the segment, without having to configure a new data source.
    • The last option, Default Row Limit, you can most likely ignore. (By default the connector will fetch all the data for a report, but if your specific Matomo report is especially large, you may run into some of Looker Studio’s limits. In this case, you would need to set a limit on the number of rows that are fetched here, but you don’t have to think about this now. It’s something you can always come back to if it turns out to be a necessity.)
  8. Once you’ve selected your report and segment, click the Add button in the bottom right of the screen. If a modal pops up asking you to confirm whether you want to add the connector to your report, confirm.
    A screenshot of the 'Add' button in the Add Data Connector workflow in  Looker Studio.

Once you’ve completed all of the steps successfully, your new data source will be available within the Data panel.

A screenshot of the data source that was just added in  Looker Studio. The Data panel in Looker Studio is open, and the new Matomo Connector data source is expanded, listing the dimensions and metrics available. The Country and Date dimensions are the first items listed, then every metric including metrics for every goal configured for the site that was selected.

You can now create charts with it by dragging metrics and dimensions to your report canvas:

A screenshot of a table visualization using data from the Country Matomo report. There are two columns in the visualization: Country and Visits, with several rows of  data.

Adding a second report

To make a second Matomo report available in Looker Studio you’ll have to create a new data source with the new report. The process is identical to the above steps.

Follow the steps above again, and you should then see two data sources available in your Looker Studio report. If you do not see the new data source, you may have to close and re-open the data panel to load the new data.

A screenshot of the data panel in Looker Studio with two data sources expanded. The first is the for the Country report which was added in the previous section, the second is another data source connected to Matomo for the Days to Conversion report.

Note that both sources are named Matomo Analytics. This can be confusing and can make it harder to look for the specific data source you may need at a time. So let’s go ahead and rename it.

Renaming your Matomo Reports in Looker Studio

Click the edit button that looks like a pencil next to one of the data sources:

A screenshot of the Data pane with the mouse hovering over the edit icon next to a data source. A tooltip saying "Edit data source" is displayed.

In the upper left of the popup, you’ll see the name of the connector. You can click on it and type in an alternative title. We recommend that you edit it to include a better description of the specific report. For example, Matomo Analytics (Country).

A screenshot of the top section of the edit data source popup in Looker Studio. The name of the connector, which was previously "Matomo Analytics" has been changed to "Matomo Analytics (Country)".

Click Done or Finished and the name change will be saved.

What to do next?

Now that you’ve connected Matomo to Looker Studio, you can craft dynamic time series reports to inform decision-making. To learn more about this, read our guide on creating time series charts in Looker Studio here.

Previous FAQ: Matomo Connector for Looker Studio Compatibility