Looker Studio (Google Data Studio) integration

Analytics

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

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

Integrate Piwik PRO with Looker Studio (Google Data Studio)

To integrate with Looker Studio, follow these steps:

  1. Open our data connector (called Piwik PRO Analytics) for Looker Studio.

    Note:

    • The current connector version is 1.2.0.
    • Our connector hasn’t been verified by Google yet, but you can use it safely.
  2. Name your data source.
  3. Click Authorize.
    piwik pro connector
  4. Click Allow on the confirmation screen.
  5. In Account name, enter your account name. Your account name is the first part of your account address: example in example.piwik.pro.
    Google Data Studio (account name)

    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.

  6. Enter your client ID and click OK. Where to find it?
  7. Enter your client secret and click OK. Where to find it?
    Google Data Studio (client id and client secret)
  8. Click Next.
  9. 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.

  10. Click Add.
  11. 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.
  • The RegExp and 'Starts with' filter types aren’t supported yet.

Update Looker Studio integration

We periodically release updates to our integration with Looker Studio. When the latest version is available, you can make the switch in a few simple steps.

To update your Looker Studio integration, follow these steps:

  1. Check if the new version is available in our changelog. The current version is 1.2.0.

    Note: The version number is in the connector description. If the version number is not listed, it is below 1.2.0 and can be updated.

  2. Go to Looker Studio > Data sources.
  3. Click on the  three-dot icon next to Piwik PRO Analytics (your current integration).
  4. Click Remove.
    looker studio (remove)
  5. Go through all the steps from this section: Integrate Piwik PRO with Looker Studio. You’ll install and set up the new version.
  6. (Optional) If you want to switch your current reports to the new data source, go to Reports.
  7. Pick the report you want to work with.
  8. Click Edit.
  9. Navigate to Resource > Manage added data sources.
  10. Click + Add a data source.
  11. In My data sources, choose Piwik PRO Analytics.
    looker studio (pick source)
  12. Click Add.
  13. Choose a widget in your report.
    looker studio (widget)
  14. In Data source, choose Piwik PRO Analytics.
    looker studio (data source widget)
  15. Done! Your report now contains data sent via the latest version of our integration.
    looker studio integration (data new integration)
  16. As the last step, you can remove Unknown from the data source list (it refers to the removed integration). Go to Resource > Manage added data sources and click Remove.
    looker studio integration (remove unknown)

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