---
title: "Event Tracking"
slug: "optional-configuration-event-tracking"
updated: 2024-03-19T07:19:00Z
published: 2024-03-19T07:19:00Z
canonical: "docs.mapp.com/optional-configuration-event-tracking"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mapp.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Event Tracking
With event tracking, you can measure events or clicks on internal or external links as well as button clicks.
**Event parameters** are custom parameters that can be used to enrich the analytical data with your web page-specific information and metrics.
**Examples**
- Scroll depth
- Link type (e.g. internal/external)
- Click area (e.g. text/image/header)
- Link target (e.g. if a link position is used as link name)
> [!NOTE]
> Note, that you have to set up the parameter in Mapp Q3, too. [Find more information here.](/v1/docs/how-to-set-up-custom-parameters)
## Configuring a Single Event Name
It is needed to provide an action name to analyse it in Intelligence. The action name is configured in the JSON object under "triggers.trackClicks.vars":
```xml
x
```
| Parameter | Description |
| --- | --- |
| actionName | Enter the name of the event. |
## Configuring Multiple Event Names
For multiple links, it is possible to use the attribute "data-vars-action-name" within the link. The value of the attribute will then be used as a name for the link:
```xml
more
www.mapp.com
link to an internal page
```
| Parameter or Attribute | Description |
| --- | --- |
| data-vars-action-name | Please include names of the events here. |
## Configuring Event Parameters
Event Parameters can either be used globally for all links or individually for each link.
### Configuring Event Parameters Globally
The event parameter for global use is set in the JSON object under "triggers.trackClicks.extraUrlParams":
```xml
```
| Parameter | Description |
| --- | --- |
| extraUrlParams | Any additional event parameter can be included here. |
### Configuring Event Parameters per Link
If you want to send several links with different information, you can use additional to the "data-vars-action- name" attribute even more "data" attributes (data-vars-*).
```xml
more
www.mapp.com
link to an internal page
```
| Parameter or Attribute | Description |
| --- | --- |
| data-vars-* | Use the additional data-vars attribute to mark the targeted link. |
| extraUrlParams | Any additional event parameter can be included here. |