---
metadata:
  - name: generator
    content: Diplodoc Platform v5.59.0
alternate:
  - https://yandex.com/support/metrica/en/code/install-counter-turbo.md
  - https://yandex.com/support/metrica/es/code/install-counter-turbo.md
  - https://yandex.com/support/metrica/pt/code/install-counter-turbo.md
  - https://yandex.com/support/metrica/ru/code/install-counter-turbo.md
  - https://yandex.com/support/metrica/tr/code/install-counter-turbo.md
  - https://yandex.com/support/metrica/zh/code/install-counter-turbo.md
  - href: https://yandex.com/support/metrica/zh/code/install-counter-turbo.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/support/metrica/zh/llms.txt
    rel: describedby
title: 在 Turbo 网站上安装计数器
description: 在 Turbo 网站上安装计数器。
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/metrica/zh/llms.txt


# 在 Turbo 网站上安装计数器

Turbo 网站在 Yandex Direct 中[创建](https://yandex.ru/support/direct/efficiency/turbo-pages.html)，并用于广告中。

{% note tip %}

为便于统计数据跟踪，请在您的主网站和 Turbo 网站上使用同一个计数器。

{% endnote %}

当您在 Yandex Direct 中创建 Turbo 页面时，系统会创建一个_自动生成_的计数器。 **Yandex Direct** 广告系列所有者获得查看统计数据的[访问权限](https://yandex.com/support/metrica/zh/general/access.md)。 您无法将 [Session Replay](https://yandex.com/support/metrica/zh/general/counter-webvisor.md) 连接到自动生成的计数器。 要编辑计数器设置并允许其他用户访问统计数据，请将您自己的计数器关联到您的 **Yandex Direct** 广告系列并设置目标。


{% list tabs %}

- 启用现有计数器

  
  1. 转到 Yandex Direct，打开您的 [**Yandex Direct** 广告系列设置](https://yandex.ru/support/direct/efficiency/turbo-pages-statistics.html#turbo-pages-statistics__metrika)，并指定您的计数器编号或您拥有带编辑权限的访客访问权限的计数器编号。
  1. 要开始使用 Yandex Metrica 在 Turbo 网站上收集数据，请设置指定计数器设置：确保 **Additional addresses** 字段显示 `yandex.ru/turbo` 以及 Turbo 网站 URL，例如 `domain.turbo.site`，其中 `domain` 是 Yandex Direct 中的 Turbo 网站 URL。
      
      {% note info %}
      
      附加地址是可选的。 确保 **Receive data only from specified addresses** 已关闭，且您的筛选器设置没有阻止任何地址。
      
      {% endnote %}
      

- 为您的 Turbo 网站创建单独的计数器

  
  <!-- source: zh/_includes/general/creating-counter/id-counter-html/note_counters_restr.md -->
  {% note alert %}

  A single user can create no more than 100,000 tags.

  {% endnote %}
  <!-- endsource: zh/_includes/general/creating-counter/id-counter-html/note_counters_restr.md -->
  
  1. 登录 Yandex Metrica。 如果您没有帐户，请[注册](https://passport.yandex.com/passport?mode=register)。
  1. 在计数器列表页面上，[添加计数器](https://metrica.yandex.com/add)。 随即打开计数器设置页面。
  1. 填写信息：
      - **Tag name**: 输入任意名称。
      - **Site URL**：输入您对其使用 Turbo 网站的网站域。
      - **Additional addresses**: 输入 `yandex.ru/turbo` 和加速网站 URL，例如 `domen.turbo.site`，其中 `domen` 是 Yandex Direct 中的加速网站 URL。
      
      <!-- source: zh/_includes/code/install-counter-turbo/id-install-counter-turbo/other-address.md -->
      {% note info %}

      Additional addresses are optional. Make sure that **Receive data only from specified addresses** is turned off and that no addresses are blocked by your tag filter settings.

      {% endnote %}
      <!-- endsource: zh/_includes/code/install-counter-turbo/id-install-counter-turbo/other-address.md -->
      
  1. 接受[用户协议](https://yandex.com/legal/metrica_termsofuse/)条款。
  1. 点击 **Create a tag**。
  1. 在 [**Yandex Direct** 广告系列设置](https://yandex.ru/support/direct/efficiency/turbo-pages-statistics.html#turbo-pages-statistics__metrika)中指定计数器编号。

{% endlist %}


## 了解详情

- [Turbo 网站上的目标](https://yandex.com/support/metrica/zh/turbo/goals.md)
- [Turbo 网站统计数据](https://yandex.com/support/metrica/zh/turbo/stat.md)

<!-- source: zh/_includes/buttons/chat-button.md -->
[与我们聊天](https://yandex.com/chat/#/user/036e6a02-3620-9cdc-4c5e-a34667a7379e?utm_source=spravka){.button}

<!-- source: zh/_includes/styles/href-to-button.md -->

<!-- endsource: zh/_includes/styles/href-to-button.md -->
<!-- endsource: zh/_includes/buttons/chat-button.md -->

<!-- source: zh/_includes/code/texing-button.md -->
<div class="cut-button">

{% cut "发送电子邮件" %}

<!-- source: zh/_includes/popup/id-qanda/check1.md -->
如果您无法独立检查计数器，请遵循以下建议。
<!-- endsource: zh/_includes/popup/id-qanda/check1.md -->

{% list tabs radio %}

- 数据未发送到控制台

  {% include [qanda-check2-2](../_includes/popup/id-qanda/check2-2.md) %}

  {% cut "这些建议没有帮助" %}


  <div style="padding: 15px;
         margin: 10px 0;
         background: #FFFFFF;
         border-radius: 10px;
         border: 1px solid var(--g-color-line-generic);">
    <iframe style="background: #FFFFFF;"
            height="700"
            width="100%"
            frameborder="0"
            src="https://forms.yandex.com/surveys/1706/?&theme=Dannye v konsoli ne otpravlyayutsya&iframe=1&lang=en">
    </iframe>
  </div>

  {% endcut %}

- 控制台有数据，但报表不显示

  <!-- source: zh/_includes/popup/id-qanda/check2-3.md -->
  这意味着信息正在传输到 Yandex Metrica。 但是，由于以下任一原因，数据可能不会显示在报表中：
  <!-- endsource: zh/_includes/popup/id-qanda/check2-3.md -->

  <!-- source: zh/_includes/popup/id-qanda/check2-4.md -->
  - 数据被发送到具有不同编号的计数器。
  - 计数器设置中的 **Filters** 选项卡指定了过于严格的筛选条件。 删除不需要的筛选条件。
  - 计数器设置中的 **Filters** 选项卡已启用 **Don't count my sessions** 筛选条件。 这意味着计数器不会统计您自己的会话。 尝试使用您的浏览器在“隐身”模式下访问该网站。
  <!-- endsource: zh/_includes/popup/id-qanda/check2-4.md --> 

  {% cut "这些建议没有帮助" %}


  <div style="padding: 15px;
           margin: 10px 0;
           background: #FFFFFF;
           border-radius: 10px;
           border: 1px solid var(--g-color-line-generic);">
    <iframe style="background: #FFFFFF;"
              height="700"
              width="100%"
              frameborder="0"
              src="https://forms.yandex.com/surveys/1706/?&theme=Dannye v konsoli est, no otchety ne otobrazhayutsya&iframe=1&lang=en">
    </iframe>
  </div>

  {% endcut %}

{% endlist %}

{% endcut %}

</div>

<!-- source: zh/_includes/styles/cut-button.md -->

<!-- endsource: zh/_includes/styles/cut-button.md -->
<!-- endsource: zh/_includes/code/texing-button.md -->

<!-- source: zh/_includes/footer-links.md -->
- - -

<div class="borderless-table">

#|
||
实用链接

- [演示计数器](https://metrica.yandex.com/r/dashboard?)
- [添加计数器](https://metrica.yandex.com/add/)
- [免费计数器设置](https://yandex.com/promo/freeservice/metrica?utm_source=help_metrica_en&utm_medium=cpc&utm_campaign=1)
- [Yandex Metrica API](https://tech.yandex.com/metrika/)
- [提出您的想法](https://yandex.com/support/metrica/troubleshooting/idea.html)
|
线上培训



- [参加培训课程](https://yandex.com/adv/edu/online/metrika?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)

||
|#

</div>

<!-- source: zh/_includes/styles/table-style.md -->

<!-- endsource: zh/_includes/styles/table-style.md -->
<!-- endsource: zh/_includes/footer-links.md -->

<!-- source: zh/_includes/styles/cut-button.md -->

<!-- endsource: zh/_includes/styles/cut-button.md -->

{% included (../_includes/popup/id-qanda/check2-2.md) %}
   发生这种情况的原因可能如下：
   - 计数器安装不正确。 例如 CMS 修改了计数器代码。 重新安装计数器或联系您的 CMS 的支持服务。
   - 损坏的脚本导致 Yandex Metrica 计数器无法在网站上运行。 您可以在浏览器控制台中检查这一点。


{% endincluded %}