Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
...
...
...
...
...
...
...
...
...
...
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 as well as streaming 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 would be able to configure if the data is needed in batch mode or streaming mode.
Plugin Type
- Batch Source
- Batch Sink
- Real-time Source
- Real-time Sink
- Action
- Post-Run Action
- Aggregate
- Join
- Spark Model
- Spark Compute
User Configurations
Option Level | User Configuration Label | Label Description | Variable | User Widget | Notes |
---|---|---|---|---|---|
Basic | Authorization token | Authorization token to access Google Analytics reporting API | oauth2_access_token | Text Box | https://developers.google.com/analytics/devguides/reporting/core/v4/authorization |
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 | Drop Down | All the available dimensions - https://developers.google.com/analytics/devguides/reporting/core/dimsmets | |
Advanced (for batch only) | Sampling Level | Desired report sample size | sample_size | Drop Down | Possible Values: SAMPLING_UNSPECIFIED, DEFAULT, SMALL, LARGE |
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
- Realtime API get method: https://developers.google.com/analytics/devguides/reporting/realtime/v3/reference/data/realtime/get
- Example realtime dashboard with Google Analytics 360: https://hackernoon.com/using-the-google-real-time-reporting-api-71ce3f6ceee4
Table of Contents
Table of Contents style circle
Checklist
- User stories documented
- User stories reviewed
- Design documented
- Design reviewed
- Feature merged
- Examples and guides
- Integration tests
- Documentation for feature
- Short video demonstrating the feature