--- title: "Connect Clarity Security to Google Analytics" slug: "google-analytics" description: "Learn how to connect Clarity Security to Google Analytics to automate your identity life cycle management and user access reviews." tags: ["how-to", "Google Analytics"] updated: 2023-05-22T15:01:52Z published: 2023-05-22T15:01:53Z canonical: "help.claritysecurity.com/google-analytics" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.claritysecurity.com/llms.txt > Use this file to discover all available pages before exploring further. # Google Analytics This guide will teach you how to set up the connector between [Google Analytics](https://analytics.google.com/analytics/web/provision/#/provision) and [Clarity Security](https://claritysecurity.io/). **Estimated time to complete:** 15 minutes If you run into any problems, please contact your support team or [support@claritysecurity.io](mailto:support@claritysecurity.io). --- ## Supported Connector Capabilties Below are the capabilities supported by the connector at this time. | Method | Supported | | --- | --- | | Provision User | Yes | | List Groups, Policies, and Roles | Yes | | Add User to Groups, Policies, and Roles | Yes | | Remove User from Groups, Policies, and Roles | Yes | | Deactivate User | No | | Delete User | Yes | --- ## How to Setup the Connector ### Step 1: Log in to the Google Cloud Console [https://console.cloud.google.com/](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](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28137%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 2: Create a new project ![Create new project page](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28138%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 3: Enter a Project name and press Create ![Project name and creation](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28185%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 4: Enable the Content API for Shopping API ![Enable APIs and Services](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28186%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 5: Search for "Google Analytics Admin" ![Google Analytics Admin API API Library Search](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28187%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 6: Click it ![Google Analytics Admin API selection](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28188%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 7: Click Enable. ![Google Analytics Admin API - Enable](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28189%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 8: Setup the OAuth Consent Screen ![OAuth Consent Screen - External - Create](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28190%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 9: Name the app and enter your email ![Custom App Name](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28191%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 10: Scroll down, enter your email again, Save & Continue ![Confirmation page](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28192%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 11: Add Scopes ![Add or remove scopes](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28193%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 12: Search for Google Analytics Admin API, select 3 checkboxes, then click Update ![Google Analytics Admin API scope selections](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28194%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 13: Scroll down, click Save & Continue ![Save and Continue](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28195%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 14: Add yourself to the Test Users ![Add test user](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28151%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) --- ![Add your user](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28152%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 15: Click Save & Continue ![Save and continue](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28153%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 16: Create OAuth 2.0 Credentials ![OAuth Credential creation](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28196%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 17: Choose "Web application" and name your credentials ![image.png](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28156%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### 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](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28157%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### 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](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/Screenshot%202023-03-27%20at%209.25.36%20AM.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 20: Copy your Analytics Account ID Go to your Analytics account: [https://analytics.google.com/](https://analytics.google.com/) ![image.png](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28197%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### Step 21: In your Clarity portal: Search for Google Analytics and click Connect ![image.png](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%28198%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### 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](https://portal.document360.io/v1/docs/common-app-steps#step-1-connect-app) ### 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](https://portal.document360.io/dashboard#step-2-app-settings) ![image.png](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%283%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### 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](https://portal.document360.io/dashboard#step-3-user-settings) ![image.png](https://cdn.document360.io/2d020999-1823-4d4d-b6d2-4b52fb4a9617/Images/Documentation/image%282%29.png?sv=2026-02-06&spr=https&st=2026-10-27T20%3A36%3A22Z&se=2026-10-27T21%3A36%3A22Z&sr=c&sp=r&sig=y2q%2BRvWkdTeNLPbPXQEg8lSACPCbRCSaF7%2FrZkdIGxE%3D) ### 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](mailto:support@claritysecurity.io), open a [support ticket](https://support.claritysecurity.com/home). Our general support team is available Monday - Friday from 8:00 AM - 6:30 PM CST. A Service User is a user, or service account, discovered by Clarity in a downstream application. An Entitlement is an assignable permission found in a downstream application. Common examples include licenses, groups, and policies. Service User Entitlements are the pairings of users and active entitlement access in downstream applications. An attribute is a piece of information used to describe a service user, entitlement, or identity. Common examples include First Name, Last Name, Job Title, Department, etc.