Skip to main content

Google Analytics - UA Connector

Google Analytics - UA Google Analytics is Google's platform of analytics tooling. This component provides actions related to the Universal Analytics (UA) API.

Connections

Google Analytics OAuth 2.0

Authenticate requests to Google Analytics using values obtained from the Google Cloud Platform.

The Google Analytics component authenticates requests through Google's OAuth 2.0 service.

To create a Google Analytics developer account and authenticate, follow their Configure OAuth Consent guide

Now, you will have to configure OAuth 2.0 settings. Create a new Google Analytics connection of type OAuth 2.0.

  • For Client ID and Client Secret enter the values that you got from the Google Cloud Platform auth settings.
  • For Scopes choose from the list found on Google's service scopes documentation

App Verification

Google requires OAuth apps that request access to user data to pass a verification review before being deployed at scale. This process ensures the app complies with Google's API Services User Data Policy, accurately represents its functionality, and handles user data responsibly.

Google OAuth apps pass through three stages before they are ready for production use.

Testing (unpublished): The app is only accessible to users manually added as test users in the OAuth consent screen. Up to 100 test users are allowed — all other users receive an error. This is the expected state during initial development.

Published, unverified: After publishing the app, all Google users can authenticate. However, for sensitive scopes, users see a "This app isn't verified" warning. Users can proceed by clicking AdvancedGo to [app name] (unsafe), but this warning reduces trust and may be blocked by organizations with strict Google Workspace policies.

Verified: Google has reviewed and approved the app. No warning is shown. Verification is required before deploying to production users.

Publishing the App

Publishing is required before any users outside the test list can authenticate:

  1. In the Google Cloud Console, navigate to APIs & ServicesOAuth consent screen
  2. Click PUBLISH APP and confirm

Requesting Verification

The scopes used by this component are classified as sensitive by Google. Submitting for verification removes the "This app isn't verified" warning:

  1. On the OAuth consent screen, click Prepare for verification
  2. Provide a privacy policy URL, authorized domain, and app logo
  3. Submit for review — Google typically responds within several weeks

Refer to Google's OAuth consent screen documentation for the full verification requirements.

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
ScopesA space-delimited set of one or more scopes to get the user's permission to access.https://www.googleapis.com/auth/analytics https://www.googleapis.com/auth/analytics.manage.users https://www.googleapis.com/auth/analytics.edit https://www.googleapis.com/auth/analytics.readonly
Client IDProvide a string value for the client Id of your OAuth 2.0 application.
Client SecretProvide a string value for the client secret of your OAuth 2.0 application.

Actions

Get Custom Dimension

Get a Custom Dimensions

InputCommentsDefault
Connection
Custom Dimension ID
Account ID
Web Property ID

Get Custom Metric

Get a Custom Metric

InputCommentsDefault
Connection
Custom Metric ID
Account ID
Web Property ID

Get Profile

Get a Google Analytics Profile

InputCommentsDefault
Connection
Account ID
Web Property ID
Profile ID

Get View Data

Get Analytics data for a View (profile)

InputCommentsDefault
Connection
Start Date
End Date
Profile ID
Standard Dimensions
Standard Metrics
Analytics Segment
Additional MetricsMust be a comma seperated list of metrics i.e. 'ga:sesions,ga:pageviews'
Additional DimensionsMust be a comma seperated list of dimensions i.e. 'ga:browser,ga:city'
Filters
Start Index1
Items Per Page1000
Include Empty Rowsfalse

Get Web Property

Get Web Property

InputCommentsDefault
Connection
Account ID
Web Property ID

Link User to Account

Link a User by email to specified Account

InputCommentsDefault
Connection
Account ID
Email

List Accounts

Paginated listing of Accounts

InputCommentsDefault
Connection
Start Index1
Items Per Page1000

List Custom Dimensions

List Custom Dimensions for the given Web Property

InputCommentsDefault
Connection
Web Property ID
Account ID
Start Index1
Items Per Page1000

List Custom Metrics

List Custom Metrics for the given Web Property

InputCommentsDefault
Connection
Web Property ID
Account ID
Start Index1
Items Per Page1000

List Profiles

List Profiles associated with the specified Account ID

InputCommentsDefault
Connection
Account ID~all
Web Property ID~all
Start Index1
Items Per Page1000

List Web Properties

List Web Properties associated with the specified Account ID

InputCommentsDefault
Connection
Account ID
Start Index1
Items Per Page1000

Raw Request

Send raw HTTP request to Google Analytics

InputCommentsDefault
Connection
URLInput the path only (/management/accounts), The base URL is already included (https://www.googleapis.com/analytics/v3). For example, to connect to https://www.googleapis.com/analytics/v3/management/accounts, only /management/accounts is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false