Skip to main content

[en] Google Analytics

[en] Connection Type

[en] Alteryx Tool. The latest version is available from the Alteryx Community.

[en] Driver Details

[en] Sign in with Google account credentials or Google API credentials.

[en] Type of Support

[en] Read-only

[en] Version

[en] Description

[en] v1.0.0

  • [en] Compatible with Designer and Server 2021.4.2 Patch 6, 2022.1 Patch 4 and later.

  • [en] Initial release.

  • [en] Compatible with AMP engine only.

  • [en] Supports authentication with custom Google OAuth application.

  • [en] Added support for DCM.

    • [en] DCM is required for running this connector in Alteryx Server.

  • [en] FIPS capable.

[en] Known Issues

  • [en] “Sign in via Browser” authentication option is not yet working. Use this guide to create your own custom app

[en] Version

[en] Description

[en] v8.0.0 (Deprecated)

  • [en] Refactored authentication user experience.

  • [en] Added ability to share a Connection Token across the Google Analytics tools.

  • [en] Updated authentication through external browser for Designer 2020.2 and later versions.

[en] v7.x and older versions (Deprecated)

  • [en] Mandatory update to Google Analytics v8.0.0.

[en] Alteryx Tools Used to Connect

[en] Standard Workflow Processing

[en] Google Analytics 4 Input Tool

default_package_icon5d53.png

[en] Link

[en] Google Analytics Tool

Google Analytics Tool Icon

[en] Link

[en] Data Connection Manager

[en] The Google Analytics tool supports Data Connection Manager for an easier and a safer storage of your credentials. Create a connection to Google Analytics and easily reuse the stored credentials in workflows that include the Google Analytics tool. Alteryx Server requires stored credentials to successfully run the published workflows.

[en] Enable AMP Engine

[en] The Google Analytics tool requires the AMP engine to leverage the full potential of Designer capabilities.

[en] Make sure you have the AMP enabled in Options > User Settings > Edit User Settings >Defaults > Use AMP Engine for all new workflows and also in Runtime > Use AMP Engine.

[en] Sign In to Google Analytics

[en] Google Analytics 4 Input v1.0.0 supports only the custom API app authentication. Go to Custom API Application Setup for more information how to create an app or see Hello Analytics API: JavaScript quickstart for web applications for details.

[en] Connect through Own Google App

  1. [en] In Create New Connection, select Connect through Own Google App.

  2. [en] Enter Client Id and Client Secret.

  3. [en] Select Connect.

  4. [en] Enter your credentials and sign in.

  5. [en] Select Continue to allow access.

[en] Custom API Application Setup

[en] For more information on how to build and manage an application with Google Analytics services, refer to the Hello Analytics API: JavaScript quickstart for web applications.

  1. [en] Go to Google Console.

  2. [en] Select Create Project.

  3. [en] Enter a Project name and other information.

  4. [en] Select ENABLE APIS AND SERVICES from the APIs & Services dashboard.

  5. [en] Search for Google Analytics Data API and select it.

  6. [en] Select ENABLE.

  7. [en] Search for Google Analytics Admin API and select it.

  8. [en] Select ENABLE.

  9. [en] Navigate to Credentials and select CREATE CREDENTIALS, then select OAuth client ID.

  10. [en] Select CONFIGURE CONSENT SCREEN.

  11. [en] Select Internal and select CREATE.

  12. [en] Enter App name, User support email, and Developer contact information.

  13. [en] Select SAVE AND CONTINUE.

  14. [en] In the Scopes section, select ADD OR REMOVE SCOPES, and select these scopes:

    • [en] /auth/userinfo.email

    • [en] /auth/userinfo.profile

    • [en] openid

    • [en] /auth/analytics

    • [en] /auth/analytics.readonly

  15. [en] Select UPDATE.

  16. [en] Select SAVE AND CONTINUE.

  17. [en] In the Test users section, select ADD USERS, enter all the test accounts you want to use for testing, and select ADD.

  18. [en] Select SAVE AND CONTINUE.

  19. [en] Navigate to Credentials and select CREATE CREDENTIALS, then select OAuth client ID.

  20. [en] In Application type, select Desktop application.

  21. [en] Select CREATE.

  22. [en] The console displays the Client ID and the Client Secret.