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

统计项里同时返回访客数据,与访问量不同 #5242

Closed
mjsoftking opened this issue Jan 24, 2024 · 2 comments
Closed

统计项里同时返回访客数据,与访问量不同 #5242

mjsoftking opened this issue Jan 24, 2024 · 2 comments

Comments

@mjsoftking
Copy link

mjsoftking commented Jan 24, 2024

你当前使用的版本

2.11.3

描述一下此特性

统计项里同时返回访客数据,与访问量不同。

siteStatsFinder.getStats()

应该访问统计IP数量就行

附加信息

No response

@ruibaby
Copy link
Member

ruibaby commented Jan 25, 2024

目前数据统计应该是没有持久化所有数据的,这个量会比较大。两种解决方式:

  1. 使用外部的统计服务,Halo 只需要暴露数据。
  2. 使用网站数据统计平台,比如 Umami。

@guqing
Copy link
Member

guqing commented Jan 25, 2024

siteStatsFinder.getStats() 这个访问量只是文章和自定义页面的访问量,不区分 ip 只计数访问次数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants