FEATURE: Revive legacy pageview reports (#29308)

This commit brings back some reports hidden or changed
by the commit in 14b436923c 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.
This commit is contained in:
Martin Brennan
2024-10-22 10:06:22 +10:00
committed by GitHub
parent 433fadbd52
commit bd4e8422fe
5 changed files with 79 additions and 32 deletions

View File

@@ -1353,13 +1353,15 @@ en:
yaxis: "Day"
description: "Number of users who increased their Trust Level during this period."
consolidated_page_views:
title: "Consolidated Pageviews"
title: "Legacy Consolidated Pageviews"
title_legacy: "Consolidated Pageviews"
xaxis:
page_view_crawler: "Crawlers"
page_view_anon: "Anonymous users"
page_view_logged_in: "Logged in users"
yaxis: "Day"
description: "Pageviews for logged in users, anonymous users and crawlers."
description: "Legacy report showing pageviews for logged in users, anonymous users and crawlers. This has been superseded by the 'Site traffic' report."
description_legacy: "Pageviews for logged in users, anonymous users and crawlers."
labels:
post: Post
editor: Editor
@@ -1374,13 +1376,15 @@ en:
description: "API requests for regular API keys and user API keys."
consolidated_page_views_browser_detection:
title: "Consolidated Pageviews with Browser Detection (Experimental)"
title_legacy: "Consolidated Pageviews with Browser Detection (Experimental)"
xaxis:
page_view_anon_browser: "Anonymous Browser"
page_view_logged_in_browser: "Logged In Browser"
page_view_crawler: "Known Crawler"
page_view_other: "Other pageviews"
yaxis: "Day"
description: "Pageviews for logged in users, anonymous users, known crawlers and other. This experimental report ensures logged-in/anon requests are coming from real browsers before counting them. Historical data for this report is unavailable, for historical data see the Consolidated Pageviews' report."
description: "Pageviews for logged in users, anonymous users, known crawlers and other. This experimental report ensures logged-in/anon requests are coming from real browsers before counting them. Historical data for this report is unavailable, for historical data see the 'Legacy Consolidated Pageviews' report."
description_legacy: "Pageviews for logged in users, anonymous users, known crawlers and other. This experimental report ensures logged-in/anon requests are coming from real browsers before counting them. Historical data for this report is unavailable, for historical data see the Consolidated Pageviews' report."
site_traffic:
title: "Site traffic"
xaxis:
@@ -1541,6 +1545,11 @@ en:
xaxis: "Day"
yaxis: "Total Pageviews"
description: "Number of new pageviews from all visitors."
page_view_legacy_total_reqs:
title: "Legacy Pageviews"
xaxis: "Day"
yaxis: "Total Pageviews"
description: "Legacy report showing the number of new pageviews from all visitors."
page_view_logged_in_mobile_reqs:
title: "Logged In Pageviews"
xaxis: "Day"