Create a Google Analytics data source
A data source provides the data for a Data Studio report. In this lesson, you'll use the data source tool to build a connection to one of your Google Analytics views.
In this article:
Create a new data source
- Sign in to Data Studio.
- Navigate to the DATA SOURCES tab.
- Click
The CONFIGURATION panel appears.
- Select the Google Analytics connector from the list of connectors.
- Select an Account, Property, and View. (This is your data set.)
- Click CONNECT in the upper right. The Fields panel appears.
The fields panel contains all the dimensions (in green) and metrics (in blue) 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.
Rename your data source
Data Studio automatically names your data source the same as your data set name. 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.
Optional: Share the data source
If you want to let other editors use this data source to create reports, you'll need to share it with them.
There are 2 aspects to sharing data sources:
- Granting access to the data set (credentials). By default, when you create a data source, Data Studio 360 uses your credentials to authorize access to the data set. These credentials are stored securely and passed through by the data source to the underlying data set. Other people can then view or create reports that use this data without requiring them to have their own access to the data set.
You can instead require each user of the data source and any reports built on it to provide their own credentials to the data set. To do this:- Select the CONFIGURATION tab
- Change the Data source access to Viewer's Credentials
- Granting access to the data source (permissions). Permissions determine what other people can do with the data source. Your choices are:
- 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.
There are some important considerations to keep in mind when sharing data sources and reports. See the Next steps section below for links to more information.
Use this data source in reports
Click Create Report in the upper right.
You can now create reports that get their data from your Google Analytics view.