Note: Our Looker Studio connector is now officially approved by Google and available in the connector gallery. You should upgrade to this verified connector, as we will deprecate the previous versions by the end of October, 2024. The verified connector will be the only one supported moving forward.
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.
Before you start
Here are a few things to know before you start:
- Link to Piwik PRO sign-up page: https://piwik.pro/core-plan/.
- Link to Piwik PRO privacy policy: https://piwik.pro/privacy-policy/.
- Link to Piwik PRO terms of use: https://piwik.pro/core-tos/.
Integrate Piwik PRO with Looker Studio (Google Data Studio)
To integrate with Looker Studio, follow these steps:
- Log in to Looker Studio.
- Open our data connector (called Piwik PRO Analytics) for Looker Studio.
Note: The current connector version is 1.3.0.
- Name your data source.
- Click Authorize.
- Click Allow on the confirmation screen.
- In Path, enter your account name. Your account name is the first part of your account address: example in example.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.
- In Username, enter your client ID. Where to find it?
- In Password, enter your client secret. Where to find it?
- Click Submit.
- Choose the site, app or meta site/app you want to connect to Looker Studio.
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.
- Click Connect.
- 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:
- Go to Looker Studio > Data sources.
- Choose your data source from Piwik PRO.
- Click Edit connection.
- Choose the site, app or meta site/app you want to connect to Looker Studio.
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.
- Click Reconnect.
- Click Apply to confirm connection changes.
- 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:
- Go to Looker Studio > Data sources.
- Choose your data source from Piwik PRO.
- Click Create report.
- Confirm that you are adding data to your report.
- You’ll see some sample data on the dashboard.
Note: Looker Studio shows data for the last 28 days by default.
Note: Segments are not exported.
- Click Add a chart and select Date range control. This will help you select date ranges for your data.
- 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:
- Select a chart in your report.
- You’ll see the Setup tab on the right.
- Scroll down and click Add a filter.
- Click Create a filter.
- Select the dimension you want to filter with.
- Click Save.
- 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.
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.