# Dwell Time Tracking Widget

The Dwell Time Tracking widget is part of the **Tracking** widget category. For more information on the widgets, please refer to [Widgets configuration in the visual editor](/web-experimentation-and-personalization/editors-and-widget/list-of-widgets/widgets-configuration-in-the-visual-editor.md).

## Introduction <a href="#id-01gndd6kdsf4mg5ttbx5q24nwc" id="id-01gndd6kdsf4mg5ttbx5q24nwc"></a>

The Dwell Time Tracking widget enables you to track the time your visitors spend on a page. Visitors who reach a given duration will be grouped under this duration goal.

For example, you can create three separate goals in one single widget.

Let's say: 10 seconds, 60 seconds, and 180 seconds. You will see in the reporting for each goal, how many visitors reached it.

This will give you an idea of the time your visitors spend on a single page, whether it is a content page with a long scroll or a simple task-oriented page (or group of pages, depending on your targeting criteria).

In theory, you should always have a higher number of reached goals for the shortest durations and a lower number of reached goals for the longest durations.

## Configuration <a href="#h_01j5nnkfbv6wyw2f78s8hkdmwz" id="h_01j5nnkfbv6wyw2f78s8hkdmwz"></a>

<img src="/files/odc7zXmsmzCxZOSEkEJg" alt="" width="300">

To configure the widget:

1. Give it a name (for the Goals setup step and the Reporting),
2. Define a duration (make sure to name it accordingly),
3. Save.\
   To use more than one goal, add them into the same tracking widget (by clicking "Add a setting") instead of adding another tracking widget. If you added one by mistake or if you would like to remove one inside a tracking widget, just click on the red cross to delete it.

<img src="/files/4o3agQigp3wJsBc4O4mf" alt="" width="284">

In order for your goal(s) to be displayed in your campaign reports, you need to add them as main or secondary goals. For more on the goal configuration step, refer to the[ Metrics Guide.](/reporting-and-performances/reporting/metrics.md)

To avoid creating conflicts within your campaign's reporting data, we recommend adding a single widget in which all your dwell time goals will be defined.

To enable a fair comparison, event tracking widgets are applied to the original version and to the campaign variation(s).


---

# 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.abtasty.com/web-experimentation-and-personalization/editors-and-widget/list-of-widgets/ab-tasty-prebuilt-widgets/dwell-time-tracking-widget.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.
