# Metrics based on tracking widgets

Some widgets enables to add trackers in your campaigns:

* [**Scroll Rate Tracking widget:**](/web-experimentation-and-personalization/editors-and-widget/list-of-widgets/ab-tasty-prebuilt-widgets/scroll-rate-tracking-widget.md) Track if your visitors have reached a pre-defined scroll percentage on a page.
* [**Dwell Time Tracking widget:** ](/web-experimentation-and-personalization/editors-and-widget/list-of-widgets/ab-tasty-prebuilt-widgets/dwell-time-tracking-widget.md)Track the time your visitors spend on a page by creating a duration goal.
* [**Element Visible Tracking widget:** ](/web-experimentation-and-personalization/editors-and-widget/list-of-widgets/ab-tasty-prebuilt-widgets/element-visible-tracking-widget.md)Track your visitor’s scroll progression on a page based on elements made visible on the visitor's screen (viewport).
* [**Iframe Click Tracking widget:** ](/web-experimentation-and-personalization/editors-and-widget/list-of-widgets/ab-tasty-prebuilt-widgets/iframe-click-tracking-widget.md)Track clicks in an iframe. Track clicks on Facebook like buttons, Google Adsense ads, YouTube videos, or any other iframe. Clicks must not be consecutive in order to be counted. This means that in order to count a second click, the user must click elsewhere before clicking on the iframe. This preserves reporting results to be distorted with repetitive clicks and spam.

In this article, we provide more details on the trackers built using these widgets.

## Scroll Tracking <a href="#h_01gk4hw5j7h30aqqb0e5ygqgq9" id="h_01gk4hw5j7h30aqqb0e5ygqgq9"></a>

### **The event “scroll” or “percentage of scroll”** <a href="#id-01gqj84yc008a14tfvbvvbc7ae" id="id-01gqj84yc008a14tfvbvvbc7ae"></a>

This event is sent if you have added the widget [scroll rate tracking](/web-experimentation-and-personalization/editors-and-widget/list-of-widgets/ab-tasty-prebuilt-widgets/scroll-rate-tracking-widget.md) to your campaign and a visitor reaches the defined percentage of scrolling during their navigation on the targeted page(s).

This event is sent via our tag from every page where the campaign containing the widget is triggered (see [Targeting article)](/web-experimentation-and-personalization/targeting-step.md).

**AB Tasty considers this type of event as** [**action tracker**](/assets-library/trackers-page/action-trackers.md) (label in the report/same type of hit stored in the database).

* It’s displayed as “**unique**” in the column “unique conversions” when the *type of data* is “visitor”. It represents the number of unique visitors that have reached the percentage of scroll on the targeted page(s) at least once thought its session(s).

\
In this case, it represents the number of visitors who have reached the defined percentage of scroll during their sessions at least one time, on the targeted page(s) of the campaign (if a unique visitor has reached the scroll level three times, the total will still be one).

<figure><img src="/files/OkAdefbVoRAFtwdztAns" alt="" width="563"><figcaption></figcaption></figure>

* It’s displayed as “**total**” in the column "Total conversions" when the *type of data* is “session”. It represents the total number of events “percentage of scroll reached” on the targeted page(s) on all session(s).

<img src="/files/zyQDGgIUgOScJSKFOWBb" alt="" width="563">

In this case, it represents the total number of events when the percentage of scroll has been reached, on the targeted pages(s) of the campaign (if a unique visitor has reached the scroll level three times, the total will be three).

### **Scroll rate** <a href="#id-01gtvww32ekms3gtvk9sq098ef" id="id-01gtvww32ekms3gtvk9sq098ef"></a>

#### Visitor scope <a href="#h_01jbc9akbxgcg63vedmj4817bm" id="h_01jbc9akbxgcg63vedmj4817bm"></a>

In this case, the scroll conversion rate represents the percentage of scrollers (unique visitors who performed the level of scroll) on the targeted page(s) versus the total traffic on the variation.

*Calculation*

<img src="/files/XIDhITKVXs3t7VWIHsQw" alt="" width="290">

*Example*

88 unique visitors have scrolled

Total traffic is 880

Percentage of scroll rate = 88 / 880 \* 100 = 10%

#### Session scope <a href="#h_01jbc9a5z9fxr8ef9xh5m76xy4" id="h_01jbc9a5z9fxr8ef9xh5m76xy4"></a>

In this case, the scroll conversion rate represents the percentage of sessions where the percentage scroll has been reached on the targeted page(s) versus the total number of sessions on the variation.

*Calculation*

<img src="/files/st22r6rSvqsflu4arrn1" alt="Screenshot 2023-03-06 at 13.47.44.png" width="375">

*Example*

The scroll percentage has been reached 120 times

Total number of sessions is 1,000

Percentage of scroll rate = 120 / 1,000 \* 100 = 12%

In a testing campaign, this metric compares two percentages of scroll conversion rates (at a visitor level or a session-level) and helps to identify the best performer between two variations (the variation is compared to the baseline, which is the original version).

### **Scroll rate growth** <a href="#id-01jbf41b5q5zmwh2p838f4c7eb" id="id-01jbf41b5q5zmwh2p838f4c7eb"></a>

The growth metrics are always displayed on all variations except on the one which is used as the ***baseline***. See the [Campaign reporting ](/reporting-and-performances/reporting/campaign-reporting.md)article to learn how to change the baseline in a report.

## Dwell time tracking <a href="#h_01gk4hv3w3ygdacetevmmy3ztv" id="h_01gk4hv3w3ygdacetevmmy3ztv"></a>

### **The event “dwell time” or “time on page”** <a href="#id-01gqj84yc1j3n72v3msx52rqgq" id="id-01gqj84yc1j3n72v3msx52rqgq"></a>

This event is sent if you have added the widget “dwell time tracking” to your campaign and a visitor reaches the defined number of seconds on a targeted page during their navigation.

This event is sent via our tag from every page where the campaign containing the widget is triggered (see Targeting: Where section). AB Tasty considers this type of event action tracker (label in the report or the same type of hit stored in the database).

* It’s displayed as “**unique**” in the column “unique conversions” when the *type of data* is “visitor”. It represents the number of unique visitors that have reached the minimum time defined on the targeted page(s) at least once thought its session(s).

In this case, it represents the number of visitors who have reached the defined time on the page during their sessions at least one time, on the targeted page(s) of the campaign (if a unique visitor reaches the time on the page three times, it will only count as one time).

<figure><img src="/files/CDX4IUwLCoLTOYoLJyHU" alt="" width="563"><figcaption></figcaption></figure>

* It’s displayed as “**total**” in the column "Total conversions" when the *type of data* is “session”. It represents the total number of events “minimum time reached” on the targeted page(s) on all session(s).

<img src="/files/d4qy0XqS9voMPoADWAVC" alt="" width="563">

In this case, it represents the total number of events when the defined time on the page has been reached on the targeted page(s) of the campaign (if a unique visitor reaches the defined time on the page three times, it counts as three times).\\

### **Dwell time rate** <a href="#id-01jbf3yme7vz77x9t63jj10epk" id="id-01jbf3yme7vz77x9t63jj10epk"></a>

#### Visitor scope <a href="#h_01jbf3z8cjy6dt73qj3psjcwpt" id="h_01jbf3z8cjy6dt73qj3psjcwpt"></a>

In this case, the time-on-page conversion rate represents the percentage of visitors (unique visitors who performed the time-on-page objective) on the targeted page(s) versus the total traffic on the variation.

*Calculation*

<img src="/files/jyKrLf39154BS6SCe6Q1" alt="" width="302">

*Example*

88 unique visitors have reached the time on page objective

Total traffic is 880

Percentage of scroll rate = 88 / 880 \* 100 = 10%

#### Session scope <a href="#h_01jbf3zqcppvxynrg7afpgqq96" id="h_01jbf3zqcppvxynrg7afpgqq96"></a>

In this case, the time on page rate represents the percentage of sessions where the time on page has been reached on the targeted page(s) versus the total number of sessions on the variation.

*Calculation*

<img src="/files/TNbvOzbqcMUTljD1wf7w" alt="" width="375">

*Example*

The time on page has been reached 120 times

Total number of sessions is 1,000

Percentage of time on page = 120 / 1,000 \* 100 = 12%

In a testing campaign, this metric compares two “time on page reached” conversion rates (at a visitor level or a session level) and helps to identify the best performer between two variations (the variation is compared to the baseline, which is the original version).

### **Dwell time growth** <a href="#id-01jbf41syc3k1776z5dwrttd62" id="id-01jbf41syc3k1776z5dwrttd62"></a>

**The growth metrics are always displayed on all variations except on the one which is used as the&#x20;*****baseline*****. See the** [**campaign reporting article**](/reporting-and-performances/reporting/campaign-reporting.md) **to learn how to change the baseline in a report.**

## Element visible tracking <a href="#h_01gk4hqjt7m67gyf5tehnc6mq4" id="h_01gk4hqjt7m67gyf5tehnc6mq4"></a>

### **The event “element visible”** <a href="#id-01gqj84yc1717rap2gz3p3hx6t" id="id-01gqj84yc1717rap2gz3p3hx6t"></a>

This event is sent if you have added the widget “visible element tracking” to your campaign and a visitor has seen (in the visible part of their screen) the defined element during their navigation.

This event is sent via our tag from every page where the campaign containing the widget is triggered (see [Targeting](/web-experimentation-and-personalization/targeting-step.md) article).

**AB Tasty considers this type of event as** [**action tracker**](/assets-library/trackers-page/action-trackers.md) (label in the report/same type of hit stored in the database).

* It’s displayed as “**unique**” in the column “unique conversions” when the *type of data* is “visitor”. It represents the number of unique visitors that have seen the defined element on the targeted page at least once thought its session(s).

<img src="/files/Rh6eHjeIrIeg6K53VUtU" alt="" width="563">

In this case, it represents the number of visitors who have seen the defined element on the page during their sessions at least 1 time, on the targeted page(s) of the campaign (if a unique visitor has viewed the element on the page three times, it will only count as one view).

* It’s displayed as “**total**” in the column "Total conversions" when the *type of data* is “session”. In this case, it represents the total number of events when the defined element on the page has been seen, on the targeted page(s) of the campaign (if a unique visitor has viewed the defined element on the page three times, it will count as three views).

<img src="/files/oRITbiDNnR1i9uUbKe6g" alt="" width="563">

### **Element visible rate** <a href="#id-01gtvvvqgdb8svjkwzsbmhys8m" id="id-01gtvvvqgdb8svjkwzsbmhys8m"></a>

#### Visitor scope <a href="#h_01jbc9ewa6xgsv4f5gtz0r7amh" id="h_01jbc9ewa6xgsv4f5gtz0r7amh"></a>

In this case, the visible element conversion rate represents the percentage of viewers (unique visitors who have seen the element on the screen) on the targeted page(s) versus the total traffic on the variation.

*Calculation*

<img src="/files/OqHG0QIC1POwTbVhCQ2k" alt="" width="299">

*Example*

88 unique visitors have seen the element

Total traffic is 880

Visible Element conversion rate = 88 / 880 \* 100 = 10%

#### Session scope <a href="#h_01jbc9f4vmeenvzre1pb0sq6hq" id="h_01jbc9f4vmeenvzre1pb0sq6hq"></a>

In this case, the visible element conversion rate represents the percentage of sessions where the element has been seen on the targeted page(s) versus the total number of sessions on the variation.

*Calculation*

<img src="/files/p4YPZUx8ZizzWaHZQC2T" alt="" width="375">

*Example*

The element has been seen 120 times

Total number of sessions is 1,000

Visible element conversion rate = 120 / 1,000 \* 100 = 12%

In a testing campaign, this metric compares two percentages of element visible conversion rates (at a visitor level or a session-level) and helps to identify the best performer between 2 variations (the variation is compared to the baseline aka original version).

### **Element visible growth** <a href="#id-01jbf46mv0e9wex6j1yway1dkw" id="id-01jbf46mv0e9wex6j1yway1dkw"></a>

The growth metrics are always displayed on all variations except on the one which is used as the ***baseline***. See this [***article***](/reporting-and-performances/reporting/campaign-reporting.md) to learn how to change the baseline in a report.

## Iframe Tracking <a href="#id-01jbf47nh1wh05ry0dx57kxep7" id="id-01jbf47nh1wh05ry0dx57kxep7"></a>

### **The event “Iframe tracking”** <a href="#id-01jbf4a2hsyfz42z8xm5hbv5n2" id="id-01jbf4a2hsyfz42z8xm5hbv5n2"></a>

The Iframe Click Tracking widget enables you to record clicks in an iframe (an HTML element that lets you display content from another web page - the same website or another one).

For example, YouTube videos are displayed in an iframe when you embed them in your website. It is pretty much the same thing for any web app that lets you embed a part of or the full content of a page. Generally speaking, except for websites that forbid it, any web page can be embedded in an iframe.

This event is sent via our tag from every page where the campaign containing the widget is triggered (see [Targeting step article](/web-experimentation-and-personalization/targeting-step.md)).

**AB Tasty considers this type of event as** [**action tracker**](/assets-library/trackers-page/action-trackers.md) (label in the report/same type of hit stored in the database).

* It’s displayed as “**unique**” in the column “unique conversions” when the *type of data* is “visitor”. It represents the number of unique visitors that have performed a click on the iframe **at least once** thought its session(s) (if a unique visitor clicks several time, it will only count as one).
* It’s displayed as “**total**” in the reports, in the column “total conversions” when the *type of data* is “session”. In this case, it represents the total number of clicks in the iframe (if a unique visitor clicks 3 times, it will increment 3).\\

### **Iframe tracking rate** <a href="#id-01jbf4a2hs16rd8mj1czx91y7c" id="id-01jbf4a2hs16rd8mj1czx91y7c"></a>

#### Visitor scope <a href="#id-01jbf4a2hs3bd4v1rm6fh1md6e" id="id-01jbf4a2hs3bd4v1rm6fh1md6e"></a>

In this case, the Iframe tracking rate represents the percentage of unique visitors who performed at least one event Iframe tracking on the targeted page(s) versus the total traffic on the variation.

*Calculation*

<img src="/files/jyKrLf39154BS6SCe6Q1" alt="" width="302">

*Example*

88 unique visitors have clicked in the Iframe

Total traffic is 880

Percentage of scroll rate = 88 / 880 \* 100 = 10%

#### Session scope <a href="#id-01jbf4a2hssj2qsaqkyp9jzt4r" id="id-01jbf4a2hssj2qsaqkyp9jzt4r"></a>

In this case, the Iframe tracking rate represents the ratio between the number of events on the Iframe versus the total number of sessions on the variation.

*Calculation*

*Total number of events clicks on Iframe / Total number of sessions X 100*

*Example*

We have recorded 120 clicks on Iframes though sessions

Total number of sessions is 1,000

Percentage = 120 / 1,000 \* 100 = 12%

In a testing campaign, this metric compares two “Iframe tracking” conversion rates (at a visitor level or a session level) and helps to identify the best performer between two variations (the variation is compared to the baseline, which is the original version).

### **Iframe tracking growth** <a href="#id-01jbgt904748rbq6dke46g6fne" id="id-01jbgt904748rbq6dke46g6fne"></a>

**The growth metrics are always displayed on all variations except on the one which is used as the&#x20;*****baseline*****. See the** [**Campaign reporting**](/reporting-and-performances/reporting/campaign-reporting.md) **article to learn how to change the baseline in a report.**


---

# 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/reporting-and-performances/reporting/metrics/metrics-based-on-tracking-widgets.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.
