Google Analytics Batch Source

The Google Analytics batch source plugin is available for Preview in the Hub.

This plugin is used to query Google Analytics Reporting API.

Using this plugin you can get metrics and dimensions with built-in set.

Also the API allows you to request combination of metrics expressed in mathematical operations. For example, you can use the expression ga:goal1completions/ga:sessions to request the goal completions per number of sessions

For more information, see https://developers.google.com/analytics/devguides/reporting/core/v4.

Configuration

Property

Macro Enabled?

Description

Property

Macro Enabled?

Description

Reference Name

No

Required. Name used to uniquely identify this source for lineage, annotating metadata, etc.

Google Analytics View

Yes

Required. The Google Analytics view ID from which the data is retrieved.

Start Date

Yes

Optional. Start date for the report data.

End Date

Yes

Optional. End date for the report data.

Metrics

Yes

Required. Quantitative measurements. For example, the metric ga:users indicates the total number of users for the requested time period.

Dimensions

Yes

Required. Attributes of your data. For example, the dimension ga:city indicates the city, for example, “Paris” or “New York”.

Sampling Level

Yes

Optional. Desired report sample size.

Default is DEFAULT.

Authorization Token

Yes

Required. Authorization token to be used to authenticate to Google Analytics Reporting API.

Created in 2020 by Google Inc.