Google Analytics generates detailed statistics about a website's traffic and helps measure sales and conversions. The Google Analytics Advanced connector extracts data from the Google Analytics API. You can connect Google data to Domo, including page views, unique visitor counts, return visitor counts, referring domains, geographic patterns, and more. You can use predefined reports or create your own.
With your Google Analytics data in Domo, you can get immediate insights into your web performance metrics so you can better understand your customers and assess the performance of your content. Create visualizations in just minutes, and easily share them with your team to help drive better user experiences. Use Domo's Google Analytics Advanced Connector to efficiently generate reports about campaign, device, location, social network, and traffic metrics to make sure the customer behavior you're seeing now translates to sales and revenue down the line. To learn more about the Google Analytics API, visit https://developers.google.com/analytics/.
You connect to your Google account in the Data Center. This topic discusses the fields and menus that are specific to the Google Analytics Advanced connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.
Primary Use Cases
Primary Company Roles
Average Implementation Time
If choosing the basic reporting functions you can plan on about an hour depending on how many reports you are pulling. However, if choosing the custom route, the time may be up to 2 hours. Also, depending on how much data you are pulling, it may take several hours for the data to be available in Domo.
Ease of Use (on a 1-to-10 scale with 1 being easiest)
- It's important to note that when the report uses sample data, the sampled data is optimal. This can cause output discrepancies when comparing the Google API data to the reports available in the Google Analytics reporting tool. The sampling is designed to help the API perform optimally while still providing representative data.
When starting out, consider deploying the Google Analytics QuickStart App. The Base Metrics report has many of the fundamental metrics that are key to a Google Analytics dashboard.
To connect to the Google Analytics API and create a DataSet, you must have a Google email address and password.
Video - Google Analytics Connector
Connecting to Your Google Account
This section enumerates the options in the Credentials and Details panes in the Google Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.
The Domo Google Analytics Advanced connector uses OAuth to connect, so there is no need to enter credentials within Domo. Click Connect (or select Add Account if you have existing Google accounts in Domo) to open the Google OAuth screen where you can enter your Google email address and password. Once you have entered valid Google credentials, you can use the same account any time you go to create a new Google Analytics Advanced DataSet. You can manage connector accounts in the Accounts tab in the Data Center. For more information about this tab, see Managing User Accounts for Connectors.
Data Selection Pane
This pane contains a number of subpanes in which you can select a report, set a date range, choose your segments, and more.
|View||Choose whether you want to pull data from a specific view or all views. If you choose Specific views, you are asked to choose the desired profiles. Be aware that you won't be able to use custom metrics and dimensions if you choose more than one web property.|
The Google Analytics reports are divided into three categories, namely- Custom report, Google Analytics Audience reports, and Curated Domo reports. The number of available Metrics and Dimensions for the selected report appear next to the reports drop down. You can view the names of the metrics and dimensions as you hover the pointer over the respective field. The following reports are available:
Choose a predefined date range (30 days, 60 days, 90 days, or all days since the last successful run) or set a custom date range. If you choose to set a custom date range, you are asked to choose whether to pull data for a single date or a range of dates. With both options, you can choose whether the dates in the range are specific or relative. If you choose specific dates, you are prompted to choose those dates in a date picker. If you choose relative dates, you are asked to pick the number of days back you want to start pulling/stop pulling data for.
For example, you might choose to pull in data for a date range and then opt to have relative start and end dates for the range. If you were to select 14 days back for the start date and 7 days back for the end date, every time the report ran it would pull data for the last 14 days up until the last 7 days.
Select whether you want to use Segments in your data. A Segment is a subset of Google Analytics data. For example, of the entire set of users, one Segment might be users from a particular country or city. Segments let you isolate and analyze those subsets of data so you can examine and respond to the component trends in your business.
You can build dynamic Segments within Domo. You do this by inputting JSON code formatted as follows:
For more detailed information about building segments, see https://developers.google.com/analyt...asics#segments.
Select whether you want to use Filters in your data. Filters can be used to collect only data that matches specific criteria. You can filter specific metrics or dimensions. For example, you could limit the "browser" dimension to show only traffic from the Safari or Chrome browsers.
For more information about utilizing Google Analytics filters, see https://developers.google.com/analyt...erence#filters.
You can build Dimension Filters and Metrics Filters within Domo. You do this by inputting JSON code formatted as follows:
For more detailed information about building Filters, see https://developers.google.com/analyt...sics#filtering.
|Advanced Settings > Allow Sampled Data||
Select whether you want to allow sampled data in your report. By default Domo will try to unsample data by breaking up the requests into smaller date intervals until Google responds with unsampled data. By allowing sampled data, Domo will not break up the query into smaller date intervals and return the queried data as is. If you are querying user metrics without a date dimension, we recommend allowing sampled data.
|Advanced Settings > Replace Backfill||Select whether you want your dataset to show your past data. While this switch is selected the dataset will retrieve data as per the dates selected and replace all the data in the dataset. If you are using Append as an update mode, be aware that you will lose all past history.|
|Test||Click Run Test to test your configuration.|
For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see Adding a DataSet Using a Data Connector.
What version of the Google Analytics API does this connector use?
This connector uses version 4 of the Google Analytics API (https://www.googleapis.com/analytics/v4/).
Why does it seem that my data is not accurate?
Google's data processing latency is 24-48 hours. If your query is for yesterday's data, some data may not be displayed. Google may not have finished processing the most current data, so incomplete data may appear.
Google 360 accounts have a much faster processing time. Enhanced data freshness normally takes 15-20 minutes depending on some factors. Enhanced data freshness is not applied to data that results from integration with other products (Example: AdWords or any of the DoubleClick products). Visit restrictions on enhanced data freshness to view some other restrictions.
The slowest possible data latency for 360 accounts is 24 hours.
The fastest possible data latency for 360 accounts is 15-20 minutes.
The chart on this page breaks down all the possible data latency periods based on the account and based on the query. Different queries have different data latency periods.
Where can I find help in building queries?
Utilize Google's Query Explorer to help test and build your queries. The Query Explorer may also give more insight on why the query isn't working.
I keep getting the error "Selected dimensions and metrics cannot be queried together."
Refer to the Dimensions and Metrics Explorer to understand what dimensions/metrics can actually be queried together because not all combinations are valid.
What are my custom metrics and dimensions?
Custom metrics and dimensions are defined at the web property level. We can only display your custom metrics/dimensions if you have one web property selected. Only views within the web property can use its custom metric/dimension. You can have as many views selected as you want as long as they belong to the same web property. The custom metrics and dimensions (if there are any) will be displayed under the "Custom Variables or Columns" section under the custom report.
How do segments work?
A segment is a subset of your Analytics data. For example, of your entire set of users one segment might be users from a particular country or city. Within Domo, when you select multiple segments, we query a report for each segment you have selected. You can use custom segments. Learn more about segments here.
How does "Include all views" work?
If you select to include all views, the query is run for every view each time the connector runs. That way whenever you add or delete a view, you won't have to update the DataSet.
Why am I limited to 10 metrics and 7 dimensions?
This is a limitation given by the Google Analytics API. There is no way to add more than 10 metrics and 7 dimensions to a report.
My data is not aggregated in the way I expect. Why is that?
Google returns sampled data when your data passes the threshold of 500k sessions at the property level for the date range you are using. (For more about sampled data and how Google handles it, see About Data Sampling.
If Google returns sampled data, and your connector configuration does not "Allow Sampled Data", then:
- Domo rejects the sampled data
- Domo breaks up the request into smaller date intervals.
- Google responds to these smaller requests with unsampled data. This data will be aggregated with the time dimension of the smaller date interval, not the time dimension of the overall report.
For example, you might have a custom report aggregated with a time dimension of Month of the year (ga:month). If your data passes the threshold of 500k sessions, Google will return sampled data. Domo will reject the sampled data and instead request data for January 1-15. Google will return unsampled data that is aggregated for January 1-15. The process will repeat for the data for January 16 -31.
It is your responsibility to handle the non-aggregated data with an ETL.
To avoid this, either configure the dataset to Allow Sampled Data, or aggregate the data with a time dimension of Date (ga:date) or smaller.
Check user permission settings if you are having trouble gaining access to data.
Check to make sure you are using the correct set of credentials.
When validating data between the API data and the front end reporting tool, always check to see if the data was sampled or not.