我如何检查我的 readthedocs 页面被点击的频率?

How can I check how often my readthedocs page was hit?

我正在托管一个项目 ob github 并使用 Sphinx 和 RTD 自动转换并在 RTD 上显示我的文档。

如何向我的 RTD 页面添加页面点击计数器?

您可以使用 Google Analytics 来监控您的 RTD 文档。

这是 RTD 文档中的页面:
Enabling Google Analytics on your Project

引自link:

Read the Docs has native support for Google Analytics. You can enable it by:

  • Going to Admin > Advanced Settings in your project.
  • Fill in the Analytics code heading with your Google Tracking ID (example UA-123456674-1)

Once your documentation rebuilds it will include your Analytics tracking code and start sending data. Google Analytics usually takes 60 minutes, and sometimes can take up to a day before it starts reporting data.