> For the complete documentation index, see [llms.txt](https://helps.ptengine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helps.ptengine.com/en/insight/smart-heatmap/stay-heatmap.md).

# Attention Heatmap

Visualizes how long users stay on each block in the page. **Long stay = high user interest** — useful for identifying which areas attract attention.

***

## What this heatmap can tell you <a href="#what-this-heatmap-can-tell-you" id="what-this-heatmap-can-tell-you"></a>

* Which blocks attract user attention
* Which blocks get skipped
* Whether important content gets the attention it deserves

> **Prerequisite**: Attention Heatmap requires [block setup](https://helps.ptengine.com/en/insight/smart-heatmap/block-element-settings.md#block-settings) on the target page.

***

## Two display modes <a href="#two-display-modes" id="two-display-modes"></a>

Switch display modes using the dropdown menu in the upper left of the heatmap. **The default is Attention map.** We recommend starting with Attention map to grasp overall focus distribution intuitively, then switching to Block duration to dig into block-level data.

| Mode                        | Characteristics                                                     | When to use                                               |
| --------------------------- | ------------------------------------------------------------------- | --------------------------------------------------------- |
| **Attention map** (default) | Pixel-level attention distribution as a thermograph (color shading) | When you want to know exactly where the gaze concentrates |
| **Block duration**          | Average stay time (in seconds) per block                            | When you want a rough sense of which sections are popular |

***

## Attention map mode (color display) <a href="#attention-map-mode-color-display" id="attention-map-mode-color-display"></a>

Relatively evaluates user stay time and visualizes it via color shading.

| Color       | Meaning                          |
| ----------- | -------------------------------- |
| Red         | Areas where users stayed longest |
| Blue        | Areas with low user attention    |
| Transparent | Stay time near zero              |

### Three rules of attention coloring <a href="#three-rules-of-attention-coloring" id="three-rules-of-attention-coloring"></a>

1. **The middle of the screen turns reddest** — gaze concentrates here
2. **Where users stop scrolling, overlap turns red** — many users stopping in the same place deepens the color
3. **Long-stopped positions turn red** — the longer a position is viewed, the redder it becomes

***

## Block duration mode (numerical display) <a href="#block-duration-mode-numerical-display" id="block-duration-mode-numerical-display"></a>

Displays the average stay time (in **seconds**) per block (section).

* Each block shows its stay time prominently
* The right-side panel lists all blocks with their impression rates

### Block detail view <a href="#block-detail-view" id="block-detail-view"></a>

Click any block on the heatmap to see a popup with detailed data:

* Impression rate
* Average stay time
* Exits
* Conversions

### Right-side data table <a href="#right-side-data-table" id="right-side-data-table"></a>

The right-side panel shows the full list of blocks on the page.

| Metric            | Description                                                             |
| ----------------- | ----------------------------------------------------------------------- |
| Block name        | Click to scroll the heatmap to the corresponding location               |
| Impression rate   | % of PVs where this block was displayed                                 |
| Average stay time | Average stay time of users who saw this block. Longer = higher interest |

> **About sort order**: The block list is sorted by **page position (block top edge from top)** by default. Click any column header to re-sort by that metric.

***

## Metrics used <a href="#metrics-used" id="metrics-used"></a>

| Metric                | Definition                                                                                               | Formula                               |
| --------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| **Avg. stay (block)** | Average time the block was visible in the viewport (seconds). Indicates how long users viewed the block. | Sum of in-viewport time ÷ impressions |
| **Impression rate**   | % of PVs that scrolled to display this block                                                             | PVs reaching block top ÷ total PVs    |

> For detailed formulas, see [Metrics Reference](https://helps.ptengine.com/en/insight/smart-heatmap/metric-reference.md).

***

## Analysis tips <a href="#analysis-tips" id="analysis-tips"></a>

### Long stay ≠ always positive <a href="#long-stay-always-positive" id="long-stay-always-positive"></a>

There are 2 possible reasons for long stay:

* **Positive**: Users are interested and reading carefully
* **Negative**: Content is unclear and takes time to understand

The key is to **combine with Exit Heatmap** to disambiguate.

| Pattern        | Stay time | Exit rate | Interpretation                                 |
| -------------- | --------- | --------- | ---------------------------------------------- |
| High interest  | Long      | Low       | Users are satisfied and move to the next block |
| Hesitation     | Long      | High      | Users read but it didn't meet expectations     |
| Skim           | Short     | Low       | Not interested, moving on with anticipation    |
| Immediate exit | Short     | High      | Lost interest at first sight, exited           |

### Checkpoints <a href="#checkpoints" id="checkpoints"></a>

* Are key pieces of content (value props, CTAs) getting enough attention?
* Are attended pieces buried below the fold?
* If the page is overall pale-colored, content might lack appeal
* Areas with sharp color jumps (red→green→red) indicate fluctuating reading intent

***

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Exit Heatmap](https://helps.ptengine.com/en/insight/smart-heatmap/exit-heatmap.md) — Analyze with exit rate together
* [Smart Summary](https://helps.ptengine.com/en/insight/smart-heatmap/smart-summary.md) — AI auto-analysis
* [Metrics Reference](https://helps.ptengine.com/en/insight/smart-heatmap/metric-reference.md)
