A data source provides the data for a Looker Studio report. In this tutorial, you'll create a reusable data source that connects to one of your Google Analytics accounts.
Step 1: Connect to your Google Analytics account
The first step in creating a data source is to connect to your dataset.
- Sign in to Looker Studio.
- On the Looker Studio home page, in the top left, click Create, and then select Data Source.
In the list of connectors, select Google Analytics.
If you are prompted to, click AUTHORIZE to allow Looker Studio to access you data.
Select an account and a property.
In the upper right, click CONNECT. The data source configuration page appears.
Step 2: Configure the data source
The data source configuration page contains all the dimensions (the green chips) and metrics (the blue chips) from the data set. You can fine-tune the data source by renaming or disabling fields, adding calculated fields, and changing the aggregation and data type.
Learn more about modeling your data.
Data source settings
For this tutorial, you don't need to change any of the other data source settings.
Scope
Scope refers to how a data source can be used in a report.
Data sources can be either embedded or reusable. Reports can include both embedded and reusable data sources.
Data sources that you create while editing a report are embedded in the report. To edit an embedded data source, you do so within that report. Embedded data sources make collaborating on reports and data sources easier. Anyone who can edit the report can also edit the data source as well as modify its connection. When you share or copy the report, any embedded data sources are shared or copied as well.
Data sources that you create from the home page are reusable. You can reuse these data sources in different reports. Reusable data sources let you create and share a consistent data model across your organization. Only people with whom you share the reusable data source can edit it. Only the owner of the data source's credentials can modify the connection.
Learn more about embedded data sources.
Data credentials
Data credentials control access to the data that is provided by this data source:
Owner's credentials uses the credentials of the data source owner to authorize access to the dataset. This option lets you share reports that use this data source without requiring report viewers to have their own access to the underlying dataset.
Viewer's credentials require anyone who attempts to view the data that is provided by this data source to have their own access to the dataset.
Service account credentials use a special type of Google account that is intended to represent a non-human user that can authenticate and be authorized to access your data.
Data freshness
Data freshness refers to how current the data is in a data source. Different types of data sources have different requirements or expectations for data freshness. Learn more about data freshness.
Community visualizations access
Community visualizations are charts that are created by third-party developers who work with your data. These charts can be configured just like Looker Studio's default charts. Before you can use a community visualization in your report, you need to turn on community visualization access in the data source. Learn more about community visualizations.
Field editing in reports
Field editing in reports lets report editors change field definitions at the chart level. Editing field definitions in the report makes customizing your reports faster and easier. If you don't want other editors to make changes to the field definitions, you can turn this option off. Learn more about field editing in reports.
Step 3: Name the data source
Looker Studio automatically gives your data source the same name as your dataset. If you want to change that, click the name in the upper left and enter a new name.
You can also rename the data source later from the DATA SOURCES home page by clicking the context menu and selecting Rename.
Step 4: Share the data source
You can let other editors add this data source to reports by sharing it with them.
To share a data source
In the upper right, click Share.
Enter the email addresses or Google Groups that you want to share with.
For each person or group, select the access (permissions). Permissions determine what other people can do with the data source. Your choices are as follows:
Can view. People with this permission can view but not edit the data source.
Can edit. People with this permission can both view and edit the data source.
Step 5: Use the data source in reports
To create a report that gets its data from your Google Analytics property, Click CREATE REPORT.
Related resources
- Google Analytics connector
- Report tutorials
- Share a data source
- Copy a data source
- Calculated fields
- Data source credentials