# Google Analytics

Video Link: <https://youtu.be/f6-ReglSZIc>

1. To integrate Google Analytics to site, you need to click on **Add Credential** button.

<figure><img src="/files/fyTv9uUsLC8y2WgnByJa" alt=""><figcaption></figcaption></figure>

2. Fill up the page details form, and click on **Create** button to add reCAPTCHA information.

{% hint style="info" %}
You have to attain all the necessary information such as Domain Name, and Tag Id from the Analytics website, under Admin option:\
<https://analytics.google.com/analytics/web/provision/#/provision>
{% endhint %}

<figure><img src="/files/akISqAirwZjeSTtZ5lyT" alt=""><figcaption></figcaption></figure>

3. On pressing create, your credentials will be added. and Using the menu button, You can get the code for accessing this.&#x20;

<figure><img src="/files/rTU23VRtbGZ2KbDWtPUs" alt=""><figcaption></figcaption></figure>


---

# 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://nexaflow.gitbook.io/nexaflow/integration/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.
