Source: https://nishanth-fern-test.docs-staging.pageloop.ai/mobile/events-for-element

# Events for Element

Events are generated whenever a user interacts with any Whatfix Mobile content. These events can then be used to generate [Insights](/mobile/analytics-dashboard) about the engagement rate.

The following are the events that are generated when a project with a single element is run on an app:

> [!INFO]
>
> Expand the accordions for more details.

**FullScreen**

![insights\_full\_screen](/images/0e/insights_full_screen-0ee43a6b.png)

- `element_seen` You may track this element using `elementName` in combination with `projectName`.

```plaintext
{
  "id": "723e944a-defa-45e4-8f17-b08f20369b82",
  "timestamp": "2021-07-02T01:37:17Z",
  "eventName": "element_seen",
  "projectName": "AppIntro",
  "deploymentVersion": "3",
  "language": "ang",
  "elementName": "AppIntro",
  "deploymentName": "AppIntro Deployment"
}
```

- `element_action` Whenever the user clicks the Next button, you may track the interaction of this element using `actionEventValue`, that is, Continue! (name of the button). You may use the combination of `projectName` and `elementName` to identify this element uniquely.

```plaintext
{
  "id": "5aca67c6-6b51-4eb6-b298-788595bbe60b",
  "timestamp": "2021-07-02T01:38:34Z",
  "eventName": "element_action",
  "projectName": "AppIntro",
  "deploymentVersion": "3",
  "language": "ang",
  "elementName": "AppIntro",
  "actionEventType": "close",
  "actionEventValue": "Continue",
  "deploymentName": "AppIntro Deployment"
}
```

**Tooltip**

![Tooltip](/images/6a/Tooltip-6aab6ff7.png)

- `element_seen` You may track this element using `elementName` in combination with `projectName`.

```plaintext
{
  "id": "723e944a-defa-45e4-8f17-b08f20369b54",
  "timestamp": "2021-07-02T01:37:17Z",
  "eventName": "element_seen",
  "projectName": "Feature Discovery",
  "deploymentVersion": "4",
  "language": "ang",
  "elementName": "Feature Discovery",
  "deploymentName": "Feature Discovery Deployment"
}
```

- `element_action`

There are two types of event properties that are triggered based on user interaction.

**Whenever the user clicks the highlighted area**, you may track the interaction of this element using `actionEventType` as `anchor_click`. You may use the combination of `projectName` and `elementName` to identify this element uniquely.

```plaintext
{
  "id": "5aca67c6-6b51-4eb6-b298-788595bbe60b",
  "timestamp": "2021-07-02T01:38:34Z",
  "eventName": "element_action",
  "projectName": "Feature Discovery",
  "deploymentVersion": "4",
  "language": "ang",
  "elementName": "Feature Discovery",
  "actionEventType": "anchor_click",
  "deploymentName": "Feature Discovery Deployment"
}
```

**Whenever the user clicks the Shop Now or Cancel button**, you may track the interaction of this element using `actionEventValue`, that is, BuyNow (name of the button). You may use the combination of `projectName` and `elementName` to identify this element uniquely.

```plaintext
{
  "id": "5aca67c6-6b51-4eb6-b298-788595bbe60b",
  "timestamp": "2021-07-02T01:38:34Z",
  "eventName": "element_action",
  "projectName": "Feature Discovery",
  "deploymentVersion": "3",
  "language": "ang",
  "elementName": "Feature Discovery",
  "actionEventType": "close",
  "actionEventValue": "BuyNow", // or Cancel
  "deploymentName": "Feature Discovery Deployment"
}
```
