# 使用新网站流量报告实现更好的页面浏览量指标

**URL:** <https://meta.discourse.org/t/better-pageview-metrics-with-the-new-site-traffic-report/324068>\
**Category:** Announcements\
**Tags:** dashboard-reports\
**Created:** [2024年九月10日 22:05 UTC](https://meta.discourse.org/t/better-pageview-metrics-with-the-new-site-traffic-report/324068 "2024-09-10T22:05:20Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [2024年十月22日 00:12 UTC](https://meta.discourse.org/t/better-pageview-metrics-with-the-new-site-traffic-report/324068/22 "2024-10-22T00:12:24Z")

</div>

@AstonJ @darkpixlz 我刚刚合并了一个 PR，它会将旧的 pageview 和 consolidated pageview 报告分别显示为“Legacy Pageviews”和“Legacy Consolidated Pageviews”，希望这有帮助：

> <https://github.com/discourse/discourse/pull/29308>
>
> This commit brings back some reports hidden or changed
> by the commit in 14b4369…23c5b582cea454b69441a28e16f2f191e if
> the site setting \`use\_legacy\_pageviews\` is false.
> 
> \* Unhide the old “Consolidated Pageviews” report and rename it
> to “Legacy Consolidated Pageviews”
> \* Add a legacy\_page\_view\_total\_reqs report called “Legacy Pageviews”,
> which calculates pageviews in the same way the old page\_view\_total\_reqs
> report did.
> 
> This will allow admins to better compare old and new pageview
> stats which are based on browser detection if they have switched
> over to \_not\_ use legacy pageviews.
> 
> \*\*use\_legacy\_pageviews is false\*\*
> 
> !\[image\](https://github.com/user-attachments/assets/1cbdef62-09f8-45c6-b3a0-d26de50aca64)
> 
> \*\*use\_legacy\_pageviews is true\*\*
> 
> !\[image\](https://github.com/user-attachments/assets/94b7c639-ef39-4319-8847-ff3d2caaf3cb)

---

_[View the full topic](https://meta.discourse.org/t/better-pageview-metrics-with-the-new-site-traffic-report/324068)._
