discourse/app/views/layouts
David Taylor 2f2da72747
FEATURE: Add experimental tracking of 'real browser' pageviews (#26647)
Our 'page_view_crawler' / 'page_view_anon' metrics are based purely on the User Agent sent by clients. This means that 'badly behaved' bots which are imitating real user agents are counted towards 'anon' page views.

This commit introduces a new method of tracking visitors. When an initial HTML request is made, we assume it is a 'non-browser' request (i.e. a bot). Then, once the JS application has booted, we notify the server to count it as a 'browser' request. This reliance on a JavaScript-capable browser matches up more closely to dedicated analytics systems like Google Analytics.

Existing data collection and graphs are unchanged. Data collected via the new technique is available in a new 'experimental' report.
2024-04-25 11:00:01 +01:00
..
_head.html.erb FIX: Add theme-color `<meta>` tag when a dark scheme is selected (#18747) 2022-10-26 07:18:05 +03:00
_noscript_footer.html.erb PERF: Cache ToS and Privacy Policy paths (#21860) 2023-06-07 21:31:20 +03:00
_noscript_header.html.erb DEV: remove H1 from crawler view header (#18201) 2022-09-12 10:46:00 -04:00
application.html.erb DEV: Consolidate experimental 'Link' header implementations (#26377) 2024-03-27 09:06:50 +00:00
crawler.html.erb UX: Style edits (#19927) 2023-02-15 11:02:16 -06:00
email_template.html.erb
embed.html.erb FEATURE: Allow embedded view to include a header (#20150) 2023-02-06 11:10:50 -05:00
ember_cli.html.erb DEV: Document `ALLOW_EMBER_CLI_PROXY_BYPASS` in error page (#19315) 2022-12-05 13:44:16 +00:00
finish_installation.html.erb FEATURE: revamped wizard (#17477) 2022-07-27 06:53:01 +05:30
no_ember.html.erb FEATURE: Add experimental tracking of 'real browser' pageviews (#26647) 2024-04-25 11:00:01 +01:00
publish.html.erb FEATURE: Add experimental tracking of 'real browser' pageviews (#26647) 2024-04-25 11:00:01 +01:00