# How to Integrate GA4 with Daton

### Prerequisites

Before getting started, make sure you have the following:

* A Google Analytics and a Daton account.
* At least one Google Analytics View.
* Log in to your [Daton account](https://daton.sarasanalytics.com/u/integrations-list) and search for GA4 in the list of Connectors, then click **Configure**.

### Integrate GA4 with Daton

1. Log in to your [Daton account](https://daton.sarasanalytics.com/u/integrations-list) and search for GA4 in the list of Connectors, then click **Configure**.
2. Enter the following details and click **Authenticate**:&#x20;

   * Integration Name&#x20;
   * Replication Start Date&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FKgXPBllSWOubjxspW4EE%2FGA4.png?alt=media&#x26;token=8dc596d6-cc23-4a7c-87ae-02d44dab4ea1" alt=""><figcaption></figcaption></figure>

   **Note** that the Integration Name will be used to create the integration tables and cannot be modified later.
3. You will be redirected to the Google Analytics login page for authorizing Daton to extract data periodically. **Log in** with your Google Analytics account.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FTlFvQMJHsQXJZDP3ujww%2F2GA4.png?alt=media&#x26;token=5e99dc7d-6de5-4727-8769-adc2f76b49f6" alt=""><figcaption></figcaption></figure>
4. After authentication, you will be prompted to **choose** from the list of available Google Accounts/ProfileIds.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FM77nekIPgNHxMGXFnWwf%2F3GA4.png?alt=media&#x26;token=d0c8a82d-c365-4217-9943-5895e0ef556e" alt=""><figcaption></figcaption></figure>
5. After authentication, you will be prompted to add a combination of **Metrics** and **Dimensions**. You can add multiple such combinations, these will be saved as tables in your warehouse. Add the required tables and click **Submit.** \
   To read more about table selection in GA4, click [here](https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/analytics/essential-attributes-and-table-selection#table-selection).

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FpN5tZQ6J6BkOeaJ9BdK9%2F4GA4.png?alt=media&#x26;token=fbac251d-67c5-46b5-a9df-bb40e49e668b" alt=""><figcaption></figcaption></figure>

   **Note** that you will be prompted to select the destination for your integration.
6. Select the destination for your integration and click **Confirm**. An integration successful message will be displayed.

### Important Note

* Integrations would begin in the Pending state and change to the Active state once the first job successfully loaded data into the configured warehouse.&#x20;
* Users can check job status and process logs from the integration details page by clicking on the integration name in the active list.&#x20;
* Users can Re-Authenticate, Edit, Clone, Pause, or Delete the integration at any moment by clicking on settings. You can also adjust the frequency and history of the integration.&#x20;
* On the Sources page, click Integration to access each table in your integration. The page also shows the state of each table, the last replicated time, and Reload access buttons.&#x20;
