> 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/cn/insight/smart-heatmap/block-element-settings.md).

# 区块·元素设定方法

要在智能热图中进行区块/元素级别的分析，需要先在目标页面设定“区块”和“元素”。本页介绍设置界面的操作和各功能的含义。

> 设定的顺序（① CV → ② 区块 → ③ 元素）和前提条件请参考 [上手指南：3 个设定顺序](https://helps.ptengine.com/cn/insight/smart-heatmap/getting-started.md)。

***

## 术语定义 <a href="#terminology" id="terminology"></a>

| 术语     | 定义              | 示例                    |
| ------ | --------------- | --------------------- |
| **区块** | 把页面分割成多个逻辑区域的单位 | 头部 / 主视觉 / 客户评价 等     |
| **元素** | 页面上最小颗粒度的内容     | 按钮 / 链接 / 图片 / 输入表单 等 |

通过区块和元素的组合，可以从**定量（数值）和定性（热图）两个角度**分析内容效果。

> **区块的自动识别**：智能热图会基于页面的 DOM 结构（`div` 等布局元素）自动识别区块。下拉菜单、手风琴等动态元素的交互性也会被纳入考虑。

***

{% hint style="info" %}
**入口只有一个，但打开什么取决于你在哪个 tab。** 热图工具栏右侧从左数第 1 个图标：

* 在 **点击 / 转化贡献** 热图下 → 打开 **元素及CTA设置**
* 在 **停留 / 流失** 热图下 → 打开 **区块设置**

两个面板结构一样（左侧页面上圈选、右侧列表、顶部有“交互模式”与“扫描”），只是对象分别是元素和区块。
{% endhint %}

***

## 转化设定 <a href="#conversion-settings" id="conversion-settings"></a>

设定转化目标后，可以分析每个区块/元素对转化的贡献度。

### 设定方法（2 种） <a href="#setup-methods-2-options" id="setup-methods-2-options"></a>

转化本身不在热图工具栏里设定，要去 **右上角齿轮图标 →“页面转化设置”**（或 Insight“基础设置”左栏的“转化”）。 设好之后回到转化贡献热图，才能看到各区块 / 元素的转化贡献。

<figure><img src="https://2044586328-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnucbKsG9WGIoxCpzyoHL%2Fuploads%2Fgit-blob-02eb4b03087e2bd42037f2ae226613243f4713c6%2Finsight-smart-heatmap-gear-menu-01.png?alt=media" alt="齿轮菜单：页面转化设置 / 区块设置 / 元素及CTA设置"><figcaption></figcaption></figure>

### 设置界面的使用方法 <a href="#how-to-use-the-settings-screen" id="how-to-use-the-settings-screen"></a>

* **左侧“所有转化”**：已添加的转化列表，勾选要用的；右上的 ＋ 可以新增
* **右侧“已选择转化”**：会在报告里显示的转化，拖拽可调整顺序
* **底部“区块转化贡献的最小停留时长”**：用户在某区块停留超过这个阈值，才算参与该区块的转化贡献计算（默认 5 秒）

<figure><img src="https://2044586328-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnucbKsG9WGIoxCpzyoHL%2Fuploads%2Fgit-blob-8c884df65e2322cb4ece3a953967cecc381ca197%2Finsight-smart-heatmap-page-conversion-01.png?alt=media" alt="页面转化设置界面"><figcaption></figcaption></figure>

> **⚠️ 排在最上面的转化会被视为“主要转化”**
>
> 右侧面板中**排在第 1 位的转化**会自动被视为本页面的**主要转化**。
>
> 主要转化会作为 [智能总结](https://helps.ptengine.com/cn/insight/smart-heatmap/smart-summary.md) 的“**广告效果分析**”和“**受众分析**”中转化率计算的**唯一基准**。即使设定了多个转化目标，这两个分析也只会引用主要转化。
>
> 想更换主要转化时，请在右侧面板中把目标转化**拖拽到第 1 位**。

详细设定步骤请参考 [转化的管理界面](https://helps.ptengine.com/cn/insight/conversion/management.md)。

***

## 区块设定 <a href="#block-settings" id="block-settings"></a>

将整个页面划分为多个逻辑区域。设定区块后，可以分析每个区域的**停留、流失、转化**。

### 设定方法（3 种） <a href="#setup-methods-3-options" id="setup-methods-3-options"></a>

在 **停留** 或 **流失** 热图下，点工具栏右侧**从左数第 1 个图标**（悬停显示“元素及CTA设置”），打开的就是 **区块设置** 面板。

![区块设置：左侧页面上直接圈区块、可“重命名”，右侧是区块列表；顶部有 交互模式 / 扫描区块](https://2044586328-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnucbKsG9WGIoxCpzyoHL%2Fuploads%2Fgit-blob-4499e2f721100cf7f7446ad60b55849e6e526e90%2Finsight-smart-heatmap-block-element-settings-02.png?alt=media)

### 区块设置界面的主要操作 <a href="#block-settings-screen-main-operations" id="block-settings-screen-main-operations"></a>

| 操作      | 说明                  |
| ------- | ------------------- |
| 保存      | 保存设定的区块             |
| 切换设备    | PC / 智能手机分别设定       |
| 撤销 / 重做 | 操作的撤销 / 重做          |
| 交互模式    | 查看通常隐藏的元素（Tab、手风琴等） |
| 重新扫描区块  | 页面结构变化后重新扫描         |
| 区块重命名   | 改成更易懂的名字            |

> 页面高度或内容变化时，请务必执行“**重新扫描区块**”。详见 [特殊场景与故障排查 — 页面高度变化时](https://helps.ptengine.com/cn/insight/smart-heatmap/special-cases.md#when-page-height-or-content-changes)。

***

## 元素设定 <a href="#element-settings" id="element-settings"></a>

将页面上的可交互元素（按钮、链接、图片、表单等）分别识别并打标。

### 设定方法（3 种） <a href="#setup-methods-3-options-1" id="setup-methods-3-options-1"></a>

1. 点击热图界面右上角的“**元素设定**”按钮 在 **点击** 或 **转化贡献** 热图下，点工具栏右侧**从左数第 1 个图标**，打开的是 **元素及CTA设置** 面板。

![元素及CTA设置：右侧元素列表带 (CTA) 标记与“未找到”状态；顶部有 交互模式 / 扫描元素 / 清除页面设置](https://2044586328-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnucbKsG9WGIoxCpzyoHL%2Fuploads%2Fgit-blob-4cdfa7f117a7acde7d38205cf98d476b14fa2ce1%2Finsight-smart-heatmap-block-element-settings-01.png?alt=media)

### 元素设置界面的主要操作 <a href="#element-settings-screen-main-operations" id="element-settings-screen-main-operations"></a>

| 操作         | 说明                   |
| ---------- | -------------------- |
| 保存         | 保存设定的元素              |
| 重新扫描元素     | 重新扫描元素               |
| 重置页面设定     | 重置所有元素设定             |
| 元素重命名      | 改成更易懂的名字             |
| **设为 CTA** | 标记为重要 CTA。在转化报告中突出显示 |
| **设为固定显示** | 标记为滚动时仍常驻显示的元素（浮动元素） |
| 删除         | 删除元素标记               |

### 什么是 CTA <a href="#what-is-a-cta" id="what-is-a-cta"></a>

页面上特别重要的按钮或链接（购买按钮、申请按钮等促使用户行动的元素）可以标记为 **CTA（Call To Action）**。设为 CTA 后：

* 点击热图和转化贡献热图可以用“仅显示 CTA”过滤
* 数据报告中会显示 CTA 点击数·CTA 点击率等独立指标

### 什么是固定显示元素 <a href="#what-are-fixed-display-elements" id="what-are-fixed-display-elements"></a>

跟随滚动始终显示的元素（吸顶头部、浮动购买按钮、侧边广告等）可以设为**固定显示元素**。正确标记后，热图不会重复计数，可以保证准确监测。

> **快捷键操作**：在元素设置界面或已设置界面中，鼠标悬停状态下按 `Option` 键（Mac）或 `Alt` 键（Windows），可以临时显示并确认固定显示元素。

***

## β 版迁移用户的注意事项 <a href="#note-for-users-migrating-from-the-v-version" id="note-for-users-migrating-from-the-v-version"></a>

区块转化的计算方法已经变更：

|             | 计算对象                              |
| ----------- | --------------------------------- |
| 变更前（β 版）    | 看过该区块的所有用户的 CV 都计入                |
| **变更后（现行）** | 仅当用户在该区块**停留时间达到设定阈值**之后产生 CV 才计入 |

阈值可以从热图界面右上角的“**页面转化设定**”修改，默认为 **5 秒**。

详见 [转化贡献热图](https://helps.ptengine.com/cn/insight/smart-heatmap/conversion-heatmap.md#understanding-block-conversion-rate)。

***

## 相关页面 <a href="#related-pages" id="related-pages"></a>

* [上手指南：3 个设定顺序](https://helps.ptengine.com/cn/insight/smart-heatmap/getting-started.md)
* [停留热图](https://helps.ptengine.com/cn/insight/smart-heatmap/stay-heatmap.md)
* [流失热图](https://helps.ptengine.com/cn/insight/smart-heatmap/exit-heatmap.md)
* [点击热图](https://helps.ptengine.com/cn/insight/smart-heatmap/click-heatmap.md)
* [转化贡献热图](https://helps.ptengine.com/cn/insight/smart-heatmap/conversion-heatmap.md)
* [特殊场景与故障排查](https://helps.ptengine.com/cn/insight/smart-heatmap/special-cases.md)
