How to use IBM App Connect with Google Analytics

Google Analytics is a web analytics service that provides tools to analyze traffic on websites and applications across your business. Use IBM® App Connect to connect Google Analytics to other applications.

Availability:
  • A connector in IBM App Connect on IBM CloudCloud-managed connector
  • A local connector in a Designer instance of IBM App Connect in containers (Continuous Delivery release)Local connector in containers (Continuous Delivery release)
  • A local connector in a Designer instance of IBM App Connect in containers (Extended Update Support)Local connector in containers (Extended User Support release)
  • A local connector in a Designer instance of IBM App Connect in containers (Long Term Support)Local connector in containers (Long Term Support release)
The following information describes how to use IBM App Connect to connect Google Analytics to your other applications.

What to consider first

Before you use IBM App Connect with Google Analytics, ensure that you enable Analytics on your Google account. To sign up for Google Analytics, see Google Analytics Sign Up.

Connecting to Google Analytics

To connect App Connect to Google Analytics, you can use the website OAuth 2.0 authorization method. You need to provide an OAuth 2.0 client ID, client secret, and update the authorized redirect URI for your Google application. For more information, see Connecting to a Google application using the website OAuth 2.0 authorization method.

To connect App Connect to Google Analytics, you can also use basic authentication with OAuth credentials. You need to provide an OAuth 2.0 client ID, client secret, access token, and refresh token with selected scopes for Google APIs. For more information, see Getting OAuth client ID, client secret, access token, and refresh token for Google applications.

To connect to Google Analytics from the Catalog page in the App Connect Designer for the first time, expand Google Analytics, then click Connect. For more information about ways to connect to Google Analytics, see Managing accounts in App Connect.

Tip:

Before you use the account that is created in App Connect in a flow, rename the account to something meaningful that helps you to identify it. To rename the account on the Catalog page, select the account, open its options menu (⋮), then click Rename Account.

Events and actions

Google Analytics events

These events are for changes in this application that trigger a flow to start performing the actions in the flow.

Note: Events are not available for changes in this application. You can trigger a flow in other ways, such as at a scheduled interval or at specific dates and times.

Google Analytics actions

These are actions on this application that you want a flow to complete.

Account user links
Retrieve account user links
Custom data sources
Retrieve custom data sources
Custom dimensions
Retrieve custom dimensions
Custom metrics
Retrieve custom metrics
Filters
Retrieve filters
Goals
Retrieve goals
Multi-channel funneling reports
Retrieve MCF reports
Profile filter links
Retrieve profile filter links
Profile user links
Retrieve profile user links
Profiles
Retrieve profiles
Web properties
Retrieve web properties