'Site traffic report'?

If I go to /admin there’s a bar graph toward the top of the page labeled “Legacy Consolidated Pageviews.”

“Legacy?” I think. Checking the info tip, I see that it’s superseded by the ‘Site traffic’ report.

Okay cool. Let’s go look at that.

Except it’s not in the list of reports.

Checking here I see a 2024 announcement of the report which tells me I should be seeing it on the admin dashboard. (I don’t.) There’s also an “understanding” post which tells me I can find it at discourse.example.com/admin/reports/site_traffic.

Except that when I go there, what I’m redirected to is “Legacy Consolidated Pageviews.” Again.

So… what gives?

i wonder if it is because you are hosted? i have it on my self-hosted site on reports page and at /admin/reports/site_traffic

edit: nevermind, i found it on a hosted site too.

There is a hidden site setting use_legacy_pageviews. I wonder if that is enabled on your forum.

Lilly could enable that on her forum to check. My hosted forum shows the site traffic report just like hers

give me a minute to get to the command line lol

can confirm that the hidden setting SiteSetting.use_legacy_pageviews is enabled on your site. when i set it to true on my site, the Site Traffic Report disappears:

It’s a hidden site setting, so you won’t find it in the interface.

Hosted customers need to contact the team.

And self-hosters have to use the Rails console: Using Hidden Site Settings