> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Analytics source for ELT & CDC

> Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.

**Google Analytics** lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications. ELT & CDC uses the API provided by Google Analytics to sync the data. [Google Analytics API reference](https://developers.google.com/analytics)

|                           |                             |
| :------------------------ | :-------------------------- |
| **Supported Replication** | Full Sync  Incremental Sync |
| **Authentication Type**   | Bearer Token                |

## Collections

| **Collection Name**   | **Full** **Sync** | **Incremental** **Sync** | **Supports Update** | **Supports Delete** |
| :-------------------- | :---------------- | :----------------------- | :------------------ | :------------------ |
| Ecommerce Overview    | ✔                 | ✔                        | ✖                   | ✖                   |
| Behavior Overview     | ✔                 | ✔                        | ✖                   | ✖                   |
| Audience Overview     | ✔                 | ✔                        | ✖                   | ✖                   |
| Audience Geo Location | ✔                 | ✔                        | ✖                   | ✖                   |
| Audience Technology   | ✔                 | ✔                        | ✖                   | ✖                   |
| Acquisition Overview  | ✔                 | ✔                        | ✖                   | ✖                   |

### Setting up Google Analytics for ELT & CDC

#### Requirements

* You need permissions to create private keys for service accounts.

#### Google Analytics Source Create Form

Follow these steps to Enable Google Analytics API.

<Steps>
  <Step>
    Go to [Google Cloud Platform dashboard](https://console.cloud.google.com/home/dashboard) and navigate to `APIs & Services` tab in the hamburger menu.
  </Step>

  <Step>
    Click the `Enable APIs and Services` button.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-41.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=daa7b1b8df980d851f2d8ae8db8de1c3" alt="Enable APIs and Services button on Google Cloud Platform dashboard" width="1344" height="94" data-path="images/cdc/sources/image-41.png" />
    </Frame>
  </Step>

  <Step>
    Look for `Google Analytics`.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-42.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=0116eace05470efce846ffae9dfc2ef1" alt="Searching for Google Analytics in the API library" width="1188" height="392" data-path="images/cdc/sources/image-42.png" />
    </Frame>
  </Step>

  <Step>
    Select `Google Analytics API` among the search results.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-43.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=f89317108ab9319a7aa44d4a70230454" alt="Selecting Google Analytics API from the search results" width="1974" height="260" data-path="images/cdc/sources/image-43.png" />
    </Frame>
  </Step>

  <Step>
    Click the `Enable` button.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-44.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=d5295acb9dc0da6226f75c68a274e9cb" alt="Enable button on the Google Analytics API page" width="1208" height="512" data-path="images/cdc/sources/image-44.png" />
    </Frame>
  </Step>

  <Step>
    After enabling the API, you are being redirected to the Google Analytics dashboard. Click the `Create credentials`button for creating credentials.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-45.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=d361603de3f0a3f6efc81fc7344bc167" alt="Google Analytics API dashboard with Create credentials button" width="2246" height="104" data-path="images/cdc/sources/image-45.png" />
    </Frame>
  </Step>

  <Step>
    Select `Google Analytics API` in the first step.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-46.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=59bdfebefd4d227088be00653bd1cb15" alt="Selecting Google Analytics API in the credentials setup wizard" width="988" height="312" data-path="images/cdc/sources/image-46.png" />
    </Frame>
  </Step>

  <Step>
    Select the `Application data` and `No, I'm not using them` options, then click `Next`.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-47.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=5d8394011a6c58d0390b00f31417af09" alt="Choosing Application data and No, I'm not using them options" width="990" height="876" data-path="images/cdc/sources/image-47.png" />
    </Frame>
  </Step>

  <Step>
    Choose a name for your service account, then click `Create and continue`.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-48.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=86db38d68c80875f8c286103e7169866" alt="Naming the service account in the Google Cloud credentials wizard" width="1054" height="724" data-path="images/cdc/sources/image-48.png" />
    </Frame>
  </Step>

  <Step>
    Set the `Owner` role for your service account, then click `Continue`.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-49.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=4216cdf781e642502532c6f812bd8f0a" alt="Setting the Owner role for the service account" width="1042" height="724" data-path="images/cdc/sources/image-49.png" />
    </Frame>
  </Step>

  <Step>
    Click `Done` without making any other changes. You are redirected to `Credentials` page.
  </Step>

  <Step>
    Click on your newly created service account in the `Service Accounts` section.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-50.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=36b83346c9323686b6e2681f58b2af60" alt="Service Accounts section on the Google Cloud Credentials page" width="2308" height="226" data-path="images/cdc/sources/image-50.png" />
    </Frame>
  </Step>

  <Step>
    Click the `Keys` section in the top bar, then click `Create new key`.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-51.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=2ac4b50de27d24b63059ca83e3bc5f59" alt="Keys tab with Create new key button for the service account" width="344" height="238" data-path="images/cdc/sources/image-51.png" />
    </Frame>
  </Step>

  <Step>
    Make sure that `JSON` key type is selected (by default), then click `Create`. You will be prompted to save the JSON file with credentials, save it in a secure place on your computer.

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-52.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=58b20616a6a6a9960c8fdc4d3dd63658" alt="Create private key dialog with JSON key type selected" width="1120" height="708" data-path="images/cdc/sources/image-52.png" />
    </Frame>
  </Step>

  <Step>
    Copy and paste the client email (can be found in Service account details section after clicking on the service account in Service accounts sectio

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-53.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=44c5a06e99f61bf5f34be1500c844e53" alt="Service account details page showing the client email address" width="1056" height="410" data-path="images/cdc/sources/image-53.png" />
    </Frame>

    <br />

    <Frame>
      <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-54.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=05c87e32015207188018a90095f5a363" alt="Pasting the client email into the Integrate.io source configuration form" width="1228" height="504" data-path="images/cdc/sources/image-54.png" />
    </Frame>
  </Step>
</Steps>
