We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我注意到源代码options里有配置如下: autoPageview
但是README.md里面options说明没有这段话: README.md里的options
百度统计官方文档
_hmt.push(['_setAutoPageview', false]); _hmt.push(['_trackPageview', '/new/path/new/name']);
在例子中,我们首先使用了_setAutoPageview接口关闭了自动PV跟踪,然后使用了_trackPageview接口来发送新的PV统计请求。
这样在页面被访问时,记入PV的就不是原URL了,而是您指定的新的URL。
请注意上述代码最好能够加在页头标签前,至少要保证位于百度统计分析代码的前面。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我注意到源代码options里有配置如下:
autoPageview
但是README.md里面options说明没有这段话:
README.md里的options
百度统计官方文档
The text was updated successfully, but these errors were encountered: