Skip to content
New issue

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

【访问量】关于站点访问量和文章阅读次数的bug #2454

Open
chen-chenglong opened this issue May 29, 2024 · 5 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@chen-chenglong
Copy link

描述bug
PixPin_2024-05-29_14-46-22
PixPin_2024-05-29_14-46-37
站点的访客数量和阅读数量以及文章阅读数差距太大,无法直视!

期望的正常结果
正常是人工访问+蜘蛛的和

复现步骤
都这样

环境

  • 【必填】NotionNext版本-从最开始的2.X到目前最新版
  • 【必填】主题 : heo
  • 【必填】部署方案 vercel
  • 【可选】操作系统: iOS, Android, macOS, windows
  • 【可选】浏览器 edge
    补充说明
    【可选】与问题相关的其它说明
@chen-chenglong chen-chenglong added the bug Something isn't working label May 29, 2024
@RylanBot
Copy link
Contributor

RylanBot commented Jun 1, 2024

这个是 busuanzi 脚本访客统计问题,不是 NotionNext 的问题 👀

@chen-chenglong
Copy link
Author

这个是 busuanzi 脚本访客统计问题,不是 NotionNext 的问题 👀

那不能换一个可靠的脚本吗?或者其他方式
如果是错误的,我觉得不显示更好

@RylanBot
Copy link
Contributor

RylanBot commented Jun 1, 2024

访问量的计算方式是阅读任何一篇文章都会 +1,访客量才是区分不同人。
理论上并没有错误,这个脚本开源且流行挺久的,你可以自己修改代码隐藏。

@chen-chenglong
Copy link
Author

访问量的计算方式是阅读任何一篇文章都会 +1,访客量才是区分不同人。 理论上并没有错误,这个脚本开源且流行挺久的,你可以自己修改代码隐藏。

一篇文章刚发布就有409万的阅读量,理论上没有错误,实际上确是差之毫厘谬以千里啊

@tangly1024
Copy link
Owner

busuanzi 有一些已知的统计问题,不过和题主说的应该不是同一个,已知在ios浏览器等高隐私环境下统计次数会出问题。

这是一个比较新的问题

busuanzi会根据当前访问的域名和url来获取访问次数,但“刚上线就有409万阅读量” 明显不太合理,会不会是这个域名和url之前被人使用过?

暂时没有很好的解法

站友们,有没有可以推荐的、别的次数统计服务可以分享一下

@tangly1024 tangly1024 changed the title 关于站点访问量和文章阅读次数的bug 【访问量】关于站点访问量和文章阅读次数的bug Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants