# Google Analytics

Chaty can send the following to Google Analytics for you to report on

* Caller’s Phone Number
* Called Number
* Duration
* Sentiment<br>

**To set it up;**

1. Login to your Google Analytics Account and click on "Admin" on the bottom left of the screen,
2. Click on Data Streams and "Add stream" (web, and give it any domain) and name the stream "Chaty" and click on "Create and Continue"
3. Click on "Measurement Protocol API secrets"
4. Review and acknowledge the terms,
5. Click on create and name it "Chaty Call logs"
6. Log into Chaty, navigate to the "Integrations" menu item
7. Search for Google Analytics and copy the "secret" into the "secret"  field in Chaty, and measurement id in the API key field.


---

# 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.chaty.ai/integrations/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.
