Google Analytics 360 is a web analytics service offered by Google that tracks and reports website traffic, currently as a platform inside the Google Marketing Platform brand. Google Analytics 360 (GA 360) source plugin would allow users to get granular level reporting data leveraging Google Analytic's reporting API. The plugin would deliver GA 360 data in batch mode and would allow users to pick from a variety of metrics and dimensions available under Google Analytics 360 reporting API.
User Expectations
- User would like to enable GA360 API to start retieving GA360 data
- User would like to have full flexibility in picking metrics and dimension for Google Analytics 360 dataset
- User would like to control the dates for which the report data will be generated
- User would like to use advanced option such as sampling size that allows her to balance between speed and accuracy of the reporting data
User Configurations
Option Level | User Configuration Label | Label Description | Variable | User Widget | Notes |
---|---|---|---|---|---|
Basic | Credential File Location | Credential file (after enabling Google Analytics reporting API) | key_file_location | Text Box | |
Google Analytics View | The GA view ID from which to retrieve data | view_id | Text Box | ||
Start Date | Start date for the report data | start_date | Text Box | Should allow to choose "today" as an option | |
End Date | End date for the report data | end_date | Text Box | Should allow few standard options such as last 30, 60 and 90 days | |
Metrics | Quantitative measurements. For example, the metric ga:users indicates the total number of users for the requested time period | metrics_list | Drop Down | All the available metrics - https://developers.google.com/analytics/devguides/reporting/core/dimsmets | |
Dimensions | Attributes of your data. For example, the dimension ga:city indicates the city, for example, "Paris" or "New York" | dimensions_list | Drown Down | All the available dimensions - https://developers.google.com/analytics/devguides/reporting/core/dimsmets | |
Advanced | Sampling Level | Desired report sample size | sample_size | Text Box | https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#Sampling |
References
- Reporting API documentation - https://developers.google.com/analytics/devguides/reporting/core/v4/
- Google Analytics reporting API explorer: https://developers.google.com/apis-explorer/?hl=en_US#p/analyticsreporting/v4/
- Sample Java application with Reporting API: https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/service-java
- Method for getting reporting data: https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet