Update: Google Analytics Data Import is replaced with Third-party model feature
The Google Analytics Data Import feature will be replaced with Third-party model feature for new companies signing up after 12 Dec 2019. For more information, please refer to Google Analytics Setup.
If your company signs up before 12 Dec 2019, please ignore this update.
The Google Analytics integration lets you import your Google Analytics data — provided by the Google Analytics Reporting API — into your relational databases.
Holistics will first request your permission to access your Google Analytics data. The credentials will be saved for further uses.
- Select a Property and a Analytics View
- Select Metrics (required), Dimensions, and Date Range to preview your data.
- You can also customize your query with Filter. Here are some basic syntax:
|!=||Does not equal||ga:timeOnPage!=10|
|>=||Greater than or equal to||ga:timeOnPage>=10|
|<=||Less than or equal to||ga:timeOnPage<=10|
|!=||Does not match||ga:country!=Singapore|
|[email protected]||Contains substring||ga:[email protected]|
|[email protected]||Does not contain substring||ga:[email protected]|
|=~||Contains a match for the regular expression||ga:country=~^s.*|
|!~||Does not match regular expression||ga:country!~^s.*|
- OR: using a comma (
,) to define
- AND: using a semi-colon (
;) to define
Please follow the Filter Syntax for more information.
For an in-depth guide about Google Analytics dimensions and metrics, please refer to this guide by Google: Dimensions and metrics
- Click Validate query to Preview your data
Note: Google Analytics only allows a maximum number of 7 Dimensions and 10 Metrics.
Please note that Holistics allows users to select relative date range when importing Google Analytics.
With this feature, you could get the newest data from Google Analytics by setting the End Date to a relative date (for example, Yesterday, a Week ago, etc.) rather than a Specific Date (2019-01-05)
- The final step is to select a destination data source for storing the Google Analytics data
Google Analytics may or may not return sampled data based on your query (dimensions and metrics). When sampling is applied, Holistics will try to import the most accurate data provided.
For example, if you want to import your Google Analytics Data weekly, you need to choose a relative date range (7 days ago - yesterday)
By doing this, your Data from Google Analytics will always be updated from a week ago to yesterday of your current date. Therefore, you will always get weekly updated data from Google Analytics going to your Database
Updated 7 months ago