# Google Analytics Events

## 📺 Events&#x20;

Events are sent automatically from your survey to your Google analytics account to let you see what the respondents are currently doing on your survey.&#x20;

Using events you can see for example if the respondent has loaded the survey, submitted the survey and you can even identify the respondents taking the survey if you are using [security items](https://docs.ngsurvey.com/form-management/security/security-items) like [tokens](https://docs.ngsurvey.com/form-management/security/security-items/tokens) or [campaigns](https://docs.ngsurvey.com/form-management/campaigns). &#x20;

## 👀 Viewing events

You can view the events posted by your survey from the **events page** of your Google Analytics accoun&#x74;**.**

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBmR2XqmahCVESoxwih%2F-MBmRoVmRNZgDmGl-dIB%2Fimage.png?alt=media\&token=05e8b3e8-471a-4131-af95-47ed990edeb4)

As you can see below we can thanks to posted events closely monitor what our respondents are doing in our survey.&#x20;

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBmFqfZWD0OaNOoIWz3%2F-MBmLM0FYo913ehJXdAh%2Fimage.png?alt=media\&token=0c342544-3297-4b98-9c2c-d57cb862a699)

{% hint style="info" %}
The event category name is the id of the survey being tracked.&#x20;
{% endhint %}

To see the details of the events you may click on the **event category** to view all their details regarding the requests including the id of the page that was loaded and in this example we can also see the value of the [security token](https://docs.ngsurvey.com/form-management/security/security-items/tokens) that was used to access the survey to help us identify the respondent who is currently taking the survey.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBmFqfZWD0OaNOoIWz3%2F-MBmLAyj4KinF91nDhCj%2Fimage.png?alt=media\&token=b3a75f0d-5a32-46bb-abf0-c8c9f87cca32)

## ➡️ Supported Events

Following events may be sent from your survey to Google analytics&#x20;

* **`FormLoaded`** triggers when the survey is loaded up on the respondent's device.
* **`FormSubmitted`** triggers when a respondent saves his answers. The respondent id is send as event value. &#x20;
* **`FormUpdated`** triggers when the respondent updates his answers. The respondent id is send as event value.
* **`SessionRestored`** triggers when a respondent session restored for resume. The respondent id is send as event value.&#x20;
* **`SessionSaved`** triggers when the respondent saves his answers to resume them later on.
* **`PageLoaded`** triggers each time a page is loaded. The page id is send as an event value.&#x20;
* **`EmailCodeAuthSuccess`** triggers each time a valid [email code](https://docs.ngsurvey.com/form-management/security/security-items/invitation-code) has been used to access the survey. Email code is send as an event value.
* **`EmailCodeAuthDenied`** triggers each time an invalid [email code](https://docs.ngsurvey.com/form-management/security/security-items/invitation-code) has been entered to  access the survey. Invalid Email code is send as an event value..&#x20;
* **`TokenAuthSuccess`** triggers each time a valid [token](https://docs.ngsurvey.com/form-management/security/security-items/tokens) has been used to access the survey. Token is send as an event value.
* **`TokenAuthDenied`** triggers each time an invalid [token](https://docs.ngsurvey.com/form-management/security/security-items/tokens) has been entered to access the survey. Token is send as an event value.
* **`PanelAuthSuccess`** triggers each time a [panelist](https://docs.ngsurvey.com/form-management/security/security-items/panel-security) is accessing the survey. Panelist id is send as an event value.
* **`PanelAuthDenied`** triggers each time an invalid [panelist](https://docs.ngsurvey.com/form-management/security/security-items/panel-security) tries to access the survey. Panelist id is send as an event value.&#x20;
* **`HttpAuthSuccess`** triggers each time an [http security item](https://docs.ngsurvey.com/form-management/security/security-items/http-security-function) is authenticated.
* **`HttpAuthDenied`** triggers each time an [http security item](https://docs.ngsurvey.com/form-management/security/security-items/http-security-function) is denied.
