Skip to main content Skip to complementary content
Close announcements banner

Google Analytics properties

Properties to configure to establish a connection to Google Analytics.

Google Analytics is unidirectional and can only be used as a source dataset in your pipeline.

Google Analytics connection

Property

Configuration

Selection Select or enter Google Analytics.
Configuration
Engine Select your engine in the list.
Connection Google credentials Paste the content of the JSON file that contains your service account key. To know more about the Google Cloud authentication process, read the Google Cloud documentation.
Description Enter a display name (mandatory) and a description (optional) for the connection.

Google Analytics dataset

Property Configuration
Dataset name Enter a display name for the dataset. This name will be used as a unique identifier of the dataset in all Talend Cloud apps.
Connection Select your connection in the list. If you are creating a dataset based on an existing connection, this field is read-only.
Main View ID Select or enter the unique View ID for retrieving Analytics data. This identifier can be found in your account under Admin > VIEW > View Settings.
Date range Select or enter the start and end dates corresponding to the report you want to retrieve.
Dimensions Select or enter the name of the dimension you want to use.

Example: Landing Page(ga:landingPagePath)

For more information, see the Google Analytics documentation.

Metrics Select or enter the name of the metrics you want to use.

Example: Sessions (ga:sessions)

For more information, see the Google Analytics documentation.

Advanced Read timeout Enter the read timeout value in milliseconds. An exception will occur if the waiting time expires before there is data available to read.
Advanced metrics
  • Expression: Select or enter the expression corresponding to the metrics you want to use.

    Example: ga:sessions*100

  • Alias: Specify an alias for the previously defined expression. The alias will help you reuse this expression in a filter clause.

    Example: custom_session_metrics

  • Formatting type: Enter or select the format data type of the metrics.

    Example: INTEGER

Dimension filter clauses Define your custom filter clause in JSON format. You can use the alias defined previously in this clause.

For more information on the syntax of these clauses, see the Google Analytics documentation.

Metric filter clauses Define your custom metric clause in JSON format. You can use the alias defined previously in this clause.

For more information on the syntax of these clauses, see the Google Analytics documentation.

Filter expression Enter your filter expression.

Google Analytics source configuration

When Google Analytics is used as a source dataset in your pipeline, you can select some options that will be performed while passing the data to the next step of the pipeline:

Property Configuration
Use resource quotas Enable this option to enable customers of Analytics 360 accounts to have higher sampling thresholds.

For more information on the syntax of these clauses, see the Google Analytics documentation.

Include empty rows Enable this option to include in the response the rows where all metric values are zero.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!