Connect Google Cloud

Read visitor figures from Google Analytics in your processes, or call another Google API.

What it is

Google Cloud is Google's cloud platform. Odigos uses this connection to read visitor figures from Google Analytics. You connect through an OAuth client that you create yourself in the Google Cloud Console. Odigos manages the token and renews it when it expires.

Google Ads has a separate connection of its own in Hub.

What you can do with it in a process

There is no separate Google Cloud block. In Orchestra, call a Google API with the REST API task block. Under Connection (authentication), select the Google Cloud connection from Hub. Odigos then sends the connection's token with the request.

With the connection you can fetch the daily number of active users and page views of a Google Analytics property, over a period you specify.

Connecting in Hub

You connect Google Cloud in Hub. The details of a connection apply per environment: what you enter on acceptance does not apply on production.

  1. In Hub, open the Google Cloud page and click Set up connection.
  2. Choose or create a project in the Google Cloud Console.
  3. Under APIs & Services, set up the OAuth consent screen.
  4. Under Credentials, create an OAuth 2.0 Client ID, with the name and the redirect URI that Hub shows.
  5. Enter the Client ID and the Client Secret in Hub.
  6. Choose the permissions. Hub offers the Google Analytics Data API for this.
  7. Authorise Odigos.
The Google Cloud page in Hub, with the figures that Odigos reads from Google Analytics and the Set up connection button.

Data in your process

Google Cloud has no fixed tags. In the block, take what you need from the Google response with a JSONPath or with Convert result to tags. Those values then become tags you can use in the next steps.

See also