Google Analytics
Configuring Google Analytics with Polytomic On Premises
To connect Google Analytics to Polytomic On Premises, you must create a Google OAuth client.
-
In the Google Cloud console, select your project and enable these APIs:
-
Open Google Auth Platform. If you haven't set it up for this project, complete Branding and Audience.
Testing modeGoogle expires refresh tokens after 7 days for external apps in testing. Use an internal app, or publish the app, so Connections keep working.
-
Under Clients, create a client with these options:
- Application type: Web application.
- Name: Any name, for example
Polytomic Google Analytics client. - Authorized redirect URIs:
{POLYTOMIC_URL}/connect/googleanalytics. For example, if you access Polytomic athttps://polytomic.acmecorp.com, usehttps://polytomic.acmecorp.com/connect/googleanalytics.
-
Copy the client ID and client secret.
-
Set these credentials in your Polytomic deployment:
GOOGLEANALYTICS_CLIENT_ID: the client ID.GOOGLEANALYTICS_CLIENT_SECRET: the client secret.
-
Follow the Google Analytics instructions to create a Connection.
Updated 5 days ago