Google Analytics
  • 22 May 2023
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Google Analytics

  • Dark
    Light
  • PDF

Article summary

This guide will teach you how to set up the connector between Google Analytics and Clarity Security.
Estimated time to complete: 15 minutes
If you run into any problems, please contact your support team or support@claritysecurity.io.


Supported Connector Capabilties

Below are the capabilities supported by the connector at this time.

MethodSupported
Provision UserYes
List Groups, Policies, and RolesYes
Add User to Groups, Policies, and RolesYes
Remove User from Groups, Policies, and RolesYes
Deactivate UserNo
Delete UserYes

How to Setup the Connector

Step 1: Log in to the Google Cloud Console

https://console.cloud.google.com/ (opens in new tab)
If it's your first time, you'll see a prompt like this, or else move to step 2.
Google Cloud Console login page

Step 2: Create a new project

Create new project page

Step 3: Enter a Project name and press Create

Project name and creation

Step 4: Enable the Content API for Shopping API

Enable APIs and Services

Step 5: Search for "Google Analytics Admin"

Google Analytics Admin API API Library Search

Step 6: Click it

Google Analytics Admin API selection

Step 7: Click Enable.

Google Analytics Admin API - Enable

Step 8: Setup the OAuth Consent Screen

OAuth Consent Screen - External - Create

Step 9: Name the app and enter your email

Custom App Name

Step 10: Scroll down, enter your email again, Save & Continue

Confirmation page

Step 11: Add Scopes

Add or remove scopes

Step 12: Search for Google Analytics Admin API, select 3 checkboxes, then click Update

Google Analytics Admin API scope selections

Step 13: Scroll down, click Save & Continue

Save and Continue

Step 14: Add yourself to the Test Users

Add test user


Add your user

Step 15: Click Save & Continue

Save and continue

Step 16: Create OAuth 2.0 Credentials

OAuth Credential creation

Step 17: Choose "Web application" and name your credentials

image.png

Step 18: Add URI. Replace YOUR-TENANT with your Clarity subdomain, and while it doesn't fit in this screenshot, here is the full URI:**

https://YOUR-TENANT.claritysecurity.io/application/oauthProcessCode/google-analytics
image.png

Step 19: Copy & Store safely your Client ID & Client Secret for use in Step 21

Screenshot 2023-03-27 at 9.25.36 AM.png

Step 20: Copy your Analytics Account ID

Go to your Analytics account: https://analytics.google.com/

image.png

Step 21: In your Clarity portal: Search for Google Analytics and click Connect

image.png

Step 22: Fill out the Connect App form

Values needed from steps 6 & 7:

  • client_id
  • client_secret
  • account_id

Details for fields common to all applications can be found in the following article: Common App Configuration Steps

Step 23: Fill out the App Settings form

Details for fields common to all applications can be found in the following article: Common App Configuration Steps
image.png

Step 24: Fill out the User Settings form

The table at the top of this article lists the supported features of this connector.

Details for fields common to all applications can be found in the following article: Common App Configuration Steps

image.png

Step 25: Validate Your Selections and Save

Save

Clicking the Save button will trigger the first full sync for your application (even if you selected Manual syncing). This includes Service Users, Entitlements, Service User Entitlements, Service User Attributes.


Need help?

If you have any problems, contact your customer success team. You can also get in touch with our general support via email, open a support ticket. Our general support team is available Monday - Friday from 8:00 AM - 6:30 PM CST.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.