Looker Studio (Google Data Studio) integration

Analytics

Needed permissions: owner, manage, edit & publish or edit

Note: Our Looker Studio connector is now officially approved by Google and available in the connector gallery. The verified connector is the only one supported and it will be updated automatically.

When you want to use data collected by Piwik PRO and mix it with other data in Looker Studio (Google Data Studio), you need to integrate one product with another. The integration uses a community connector for Looker Studio and is easy to set up. After the integration is complete, you can comfortably build reports and dashboards in Looker Studio.

Google Data Studio

Before you start

Here are a few things to know before you start:

Integrate Piwik PRO with Looker Studio (Google Data Studio)

Note: At the moment, you can connect only one Piwik PRO account as a data source using the verified connector. A feature for multiple Piwik PRO accounts will be available soon.

To integrate with Looker Studio, follow these steps:

  1. Log in to Looker Studio.
  2. Open our data connector (called Piwik PRO Analytics) for Looker Studio.

    Note: The current connector version is 1.3.3.

  3. Name your data source.
  4. Click Authorize.
    Looker Studio (Google Data Studio) integration with Piwik PRO
  5. Click Allow on the confirmation screen.
  6. In Path, enter your account name. Your account name is the first part of your account address: example in example.piwik.pro.
    Looker Studio (Google Data Studio) integration with Piwik PRO

    Tip: Your account name is the first part of your account address: example in example.piwik.pro. For custom domains, check your account name under Piwik PRO > Menu > Administration > Settings > Subscription.

  7. In Username, enter your client ID. Where to find it?
    Looker Studio (Google Data Studio) integration with Piwik PRO
  8. In Password, enter your client secret. Where to find it?
    Looker Studio (Google Data Studio) integration with Piwik PRO
  9. Click Submit.
  10. Choose the site, app or meta site/app you want to connect to Looker Studio.
    Looker Studio (Google Data Studio) integration with Piwik PRO

    Note: View permissions or higher are needed to choose a site, app or meta site/app. If you don’t see it on the list, ask your teammate with the owner role in Piwik PRO to give you the right permissions.

  11. Click Connect.
  12. Done! Your Piwik PRO site, app or meta site/app is now connected to Looker Studio. Use the metrics and dimensions in the list to create reports and dashboards.

    Note: If you see data differences between Piwik PRO and Looker Studio, it may be because you used some transformations in Looker Studio. These transformations may aggregate data differently than Piwik PRO, hence the differences.

    Tip: You can create your own calculated fields and calculated parameters in Looker Studio. You can also turn on or off community visualizations.

Change the connected site, app or meta site/app in Looker Studio (Google Data Studio)

To change the connected site, app or meta site/app in Looker Studio, follow these steps:

  1. Go to Looker Studio > Data sources.
  2. Choose your data source from Piwik PRO.
  3. Click Edit connection.
    Google Data Studio integration (edit connection)
  4. Choose the site, app or meta site/app you want to connect to Looker Studio.
    Google Data Studio (select your site or app)

    Note: View permissions or higher are needed to choose a site, app or meta site/app. If you don’t see it on the list, ask your teammate with the owner role in Piwik PRO to give you the right permissions.

  5. Click Reconnect.
  6. Click Apply to confirm connection changes.
  7. Done!

Create a report in Looker Studio (Google Data Studio)

To create a report containing data from Piwik PRO in Looker Studio, follow these steps:

  1. Go to Looker Studio > Data sources.
  2. Choose your data source from Piwik PRO.
  3. Click Create report.
  4. Confirm that you are adding data to your report.
  5. You’ll see some sample data on the dashboard.
    Report in Google Data Studio

    Note: ​​Looker Studio shows data for the last 28 days by default.

    Note: Segments are not exported.

  6. Click Add a chart and select Date range control. This will help you select date ranges for your data.
    Report in Google Data Studio
  7. Pick any widget from Looker Studio and use the metrics and dimensions on the right to create other elements in your report.

    Tip: You can also use Looker Studio Explorer to explore your data using a single chart (Looker Data Studio > Data sources > Choose your data source from Piwik PRO > Explore).

Use filters with Piwik PRO Analytics data

When working with Piwik PRO data in Looker Studio, you can use filters the same way as in Piwik PRO dashboards or custom reports.

To add a new filter to your Looker Studio chart, follow these steps:

  1. Select a chart in your report.
  2. You’ll see the Setup tab on the right.
    Use Piwik PRO filters in Google Data Studio
  3. Scroll down and click Add a filter.
    Use Piwik PRO filters in Google Data Studio
  4. Click Create a filter.
    Use Piwik PRO filters in Google Data Studio
  5. Select the dimension you want to filter with.
    Use Piwik PRO filters in Google Data Studio
  6. Click Save.
  7. All set! Your filter has been saved and will be applied to your chart. In the future, you can use the same filter on other charts in the report.
    Use Piwik PRO filters in Google Data Studio

Note:

  • Filters in Looker Studio are case-sensitive. Unlike in Piwik PRO, there aren’t any case-insensitive operators available. To match Piwik PRO operators, make sure to adjust the conditions in Looker Studio accordingly.
  • The 'Goal ID' and 'Goal UUID' dimensions only support the 'equal to' filter operator due to API limitations.
  • For enum type fields, there’s a limit of 100 results for filters. This boosts performance and ensures faster load times. If you see a message about too many matching values, refine your search criteria.
  • When you select the 'Contains' operator in Looker Studio for location dimensions (country and city), it behaves like the 'Starts with' operator, not 'Contains' as expected. This is a bug that we’ll fix in the future.

Was this article helpful?

Technical support

If you still have any questions, visit our community.
There’s always someone happy to help!

Back to help center