Google Analytics
Google Analytics is a web analytics tool by Google that tracks website traffic and user behavior, offering insights to optimize marketing strategies and website performance.
Last updated
Google Analytics is a web analytics tool by Google that tracks website traffic and user behavior, offering insights to optimize marketing strategies and website performance.
Last updated
Churned seamlessly integrates with Google Analytics as a destination connection. If you already use Google Analytics, we highly recommend connecting to it, as it is the fastest way to experience the full value Churned has to offer. This integration ensures real-time data synchronization and enhances your ability to engage with customers effectively.
Login to Churned platform and go to integration part. Click on "New Integration" and add Google Analytics.
After adding Google Analytics, you will need your Google Credentials.
In order to get the following data, you need to login to your Google Analytics account.
Go to the Google API Console:
Sign in with your Google account and open APIs.
Create a New Project:
Click on the project drop-down menu and select "New Project".
Name your project and click "Create".
Enable Google Analytics API:
In the API Console, click on "Library" in the left-hand menu.
Search for "Google Analytics API" and click on it.
Click "Enable" to activate the API for your project.
Configure the OAuth Consent Screen:
Go to the "OAuth consent screen" tab in the API Console.
Fill in the necessary information, such as application name, support email, and developer contact information.
Add scopes for Google Analytics API.
Create OAuth 2.0 Client ID:
Go to the "Credentials" tab in the API Console.
Click on "Create Credentials" and select "OAuth 2.0 Client ID".
Choose "Web application" as the application type.
Configure the consent screen and add the necessary redirect URIs.
Click "Create" to generate the client ID and client secret.
Download JSON:
After creating the credentials, download the JSON file. This file contains your client ID and client secret, which you will need for authentication.
Use the OAuth 2.0 Playground:
Go to the OAuth 2.0 Playground.
Click on the gear icon and select "Use your own OAuth credentials".
Upload the JSON file or manually input your client ID and client secret.
Authorize the APIs you need by selecting them and clicking "Authorize APIs".
Exchange Authorization Code for Tokens:
In the OAuth 2.0 Playground, after authorizing the APIs, you will get an authorization code.
Exchange this authorization code for an access token and a refresh token.
Input Credentials in Your Application:
Use the access token obtained from the OAuth 2.0 Playground in Churned to authenticate with the Google Analytics API.
Input the access token or the JSON file as required in Churned.