> For the complete documentation index, see [llms.txt](https://docs.zigpoll.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zigpoll.com/integrations/google-analytics.md).

# Google Analytics

**Step #1: Enable your Google Analytics Integration**

1. In Zigpoll: Click Settings -> Manage Integrations -> Enable the Google Analytics Integration.

**Thats it.** Zigpoll will automatically use the Google Analytics account that you have loaded on each page. We track the following events:

* When a survey is opened we send an event with Action = **Poll Opened**
* When a survey is closed we send an event with Action = **Poll Closed**
* When a survey is completed we send an event with Action = **Poll Completed**
* When a response is submitted we send an event with Action = **Poll Submission**

The event labelled **Poll Submission** gets an extra **Event Value**. This Event Value is the response that the customer has submitted along with the handle of the poll.

So, for example, if you have a poll with handle *post-purchase* and the response to a particular question is *Very Satisfied* you will see the following as the Event Value in Google Analytics: **post-purchase : Very Satisfied**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.zigpoll.com/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.
