# Google Analytics

{% hint style="success" %}
*Check-out the given walk-through on how to create a Data Connector using the Google Analytics as data source.*
{% endhint %}

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FzYL1PJgAEbt56FfnWOfJ%2FGoogleAnalyticsDataConnector.gif?alt=media&#x26;token=805238da-dde7-4d0c-a724-e9fdf881f95d" alt=""><figcaption></figcaption></figure>

​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FHr5aAy38tG8hOWleGN3r%2Fimage.png?alt=media\&token=7f594ef6-96a2-4605-aeaf-272ca68cb6a6)

The following set of steps displays how to create a Google Analytics Data Connector.

* Select the **Add New Account** option to add a new Google account or select an added Google account from the Select Account drop-down menu.
* The user gets redirected to log in to a Google account, if the **Add New Account** is selected.

&#x20;       ​​

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FSCJ4RPe9QpaPbcqNtm7B%2Fimage.png?alt=media&#x26;token=077f8627-d6ea-4a7c-8f4c-4fd43590e797" alt=""><figcaption></figcaption></figure>

* Give access to the analytics data by clicking the **Allow** option.​​

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FjfFBwivTB8u4en3x5tUo%2Fimage.png?alt=media&#x26;token=147797a0-f3be-4827-b78f-7f55a287c0bd" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the data connector form with an authorization code in the URL, after getting the access permission. The form mentions that the user has been logged in to the selected Google account.
* **Data Connector Name:** Enter a user-defined name to identify the data connector.
* **Description:** Describe the data connector (optional).
* Click the **Save** option.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fp5oghIpigtcSOinycTC7%2FMicrosoftTeams-image%20(26).png?alt=media&#x26;token=e9b2624c-5d3e-469d-abc4-b521b2e88787" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The user can **Cancel** the connector if wished to do so from the current page.*
{% endhint %}

* A success message appears, and the newly created Google Analytics data connector gets added to the Data Connectors list.

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The below-given page opens if the user selects an account using the **Select Account** drop-down menu. In this scenario, the user needs to provide only the Data Connector name, Description (optional) and click the **Save** option to create a new Google Analytics Data Connector.*
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-center-4/data-center/data-connectors/supported-data-connectors/api-connectors/google-analytics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
