我的项目文档托管在 readthedocs.org 上
http://nsetools.readthedocs.org
是否可以对 readthedocs 上托管的文档使用谷歌分析?由于 html 不是我生成的,我不确定在哪里应用谷歌分析代码片段。
最佳答案
我自己还没有尝试过,但请参阅 http://www.drmaciver.com/2015/04/getting-google-analytics-on-readthedocs/
Go to the Admin page for your project, Click on “Advanced settings”, Enter your Google Analytics Tracking ID in the box at the bottom that says 'Analytics ID'
关于google-analytics - 在 readthedocs.org 中使用 Google Analytics,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27748396/