Churned
  • 👋Welcome to Churned!
    • Onboarding
  • â„šī¸Metrics & definitions
    • Metrics
      • Customer Succes for SaaS
      • Customer Success for non-subscription
      • Customer Success for NGOs
        • NGO Resources
      • Customer Success for B2C
      • FAQ
    • Definitions
  • â˜Žī¸Churned Dashboard Help
    • Dashboards
      • Home Dashboard
        • Subscriptions
        • NGO's
      • Segments Page
        • Users Page
      • CSM Page
      • Customer Page
        • Donors page
        • Customer Subscription
      • Technical Dashboard
      • Impact Dashboard
      • A/B Testing
      • Task
        • Open Task
        • Task Rules
    • FAQ
  • 📃RFV/RFM - Model
    • RFV-Model Segment - Best Practices
      • RFM-Model
      • B2B SaaS
      • B2C Digital Subscription
      • NGO's
  • 🔌Integrations
    • ⚡Marketplaces
      • HubSpot
      • Segment
      • Mailchimp
      • Databricks
      • BigQuery
      • Google Analytics
      • Salesforce
      • Zendesk
      • ActiveCampaign
      • Klaviyo
      • Zoho
      • Mixpanel
      • Stripe
    • FAQ
  • 📈Product Updates
    • đŸ—’ī¸Release Notes
    • Product Roadmap
  • 📍Extra
    • Webinars & Events
    • User Roles & Permissions
    • Add-ons
  • 🔐Security
    • GDPR compliance
    • Two-Factor Authentication (2FA)
Powered by GitBook
On this page
  • How to connect Google Analytics to Churned.io
  • Step 1: Set Up Google Analytics API
  • Step 2: Set Up OAuth Consent Screen
  • Step 3: Create Credentials
  • Step 4: Authenticate and Authorize
  • Step 5: Obtain Access Token
  • Step 6: Use Access Token in Your Application

Was this helpful?

  1. Integrations
  2. Marketplaces

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.

PreviousBigQueryNextSalesforce

Last updated 9 months ago

Was this helpful?

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.

How to connect Google Analytics to Churned.io

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.

Step 1: Set Up Google Analytics API

  1. Go to the Google API Console:

    • Sign in with your Google account and open APIs.

  2. Create a New Project:

    • Click on the project drop-down menu and select "New Project".

    • Name your project and click "Create".

  3. 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.

Step 2: Set Up OAuth Consent Screen

  1. 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.

Step 3: Create Credentials

  1. 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.

  2. 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.

Step 4: Authenticate and Authorize

  1. 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".

Step 5: Obtain Access Token

  1. 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.

Step 6: Use Access Token in Your Application

  1. 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.

🔌
⚡
Page cover image