Skip to main content

Google Analytics 4

With Google Analytics 4 modules in Make, you can generate reports and pivot reports, create events, and make API calls.

To get started with Google Analytics 4, you must have a Google Analytics account and an existing Universal Analytics property. You can create an account at google.com/analytics.

Refer to the Google Analytics 4 API documentation for the list of available endpoints.

Note

Make's use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy.

Connect Google Analytics 4 to Make

To establish the connection in Make you must:

  1. Obtain your Property ID in your Google Analytics 4 account.

  2. Establish the connection to Google Analytics 4 in Make.

Obtain your Property ID in Google Analytics 4

  1. Log in to your Google Analytics 4 account.

  2. In the left sidebar, click Admin.

  3. In the left menu, click Property > Property details.

  4. In the upper-right corner, click the 60990.png button to copy the Property ID.

Establish the connection with Google Analytics 4 in Make

  1. Log in to your Make account, add a Google Analytics 4 module to your scenario, and click Create a connection.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. In the Property ID field, enter the Property ID value.

  4. Optional: Switch on the Show advanced settings toggle and enter your Google Cloud Console project client credentials. For more information, see the Create and configure a Google Cloud Console project for Google Analytics 4 section below. You also can add other scopes if needed.

  5. Click Save.

  6. If prompted, authenticate your account and confirm access.

You have successfully established the connection. You can now edit your scenario and add more Google Analytics 4 modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.

To connect to Make using your own client credentials, you can create and configure a project in the Google Cloud Console.

Create a Google Cloud Console project for Google Analytics 4

To create a Google Cloud Console project:

  1. Log in to the Google Cloud Console using your Google credentials.

  2. In the top menu, click Select a project > New project.

  3. Enter a Project name and select the Location for your project.

  4. Click Create.

  5. In the top menu, check if your new project is selected in the Select a project dropdown. If not, select the project you just created.

Enable APIs for Google Analytics 4

To enable the required APIs:

  1. Open the left navigation menu and go to APIs & Services > Library.

  2. Search for and enable the following APIs: Google Analytics Data API, Google Analytics Admin API.

Create your Google Analytics 4 client credentials

To create your client credentials:

  1. In the left sidebar, click Credentials.

  2. Click + Create Credentials > OAuth client ID.

  3. In the Application type dropdown, select Web application.

  4. Update the Name of your OAuth client. This will help you identify it in the console.

  5. In the Authorized redirect URIs section, click + Add URI and enter the following redirect URI: https://www.integromat.com/oauth/cb/google-analytics-4

  6. Copy your Client ID and Client secret values and store them in a safe place.

You will use these values in the Client ID and Client Secret fields in Make.

Build Google Analytics 4 Scenarios

Reports

  • Generate a Report

  • Generate a Pivot Report (Advanced)

Other

  • Make an API Call

  • Create an Event