Web Analytics 0.8.0: Internal networks in Settings, more bots caught and localized admin pages left out
Web Analytics 0.8.0 lets you list your office and VPN networks in Settings, catches more bots that pose as browsers, and stops counting admin pages opened in another language.
Internal networks in Settings
Settings has a new Internal networks field under the Leave out internal networks switch. Enter one address or network per line, IPv4 or IPv6, such as 192.0.2.0/24. These count together with the internal_networks list in the app’s config. Every line must be valid, and a network wider than /8 (IPv4) or /16 (IPv6) is refused. The value is treated as a secret, so it does not appear in the activity log or the settings history.
More bots caught
A new bot reason, Browser years out of date, covers Chrome, Edge and Firefox about two years behind the current release, and Safari before 16. It weighs 20, so it counts only together with another reason. The User-Agent check also knows more automated clients, among them GoogleOther, Google-InspectionTool, Playwright, Puppeteer, Selenium and k6, and a bare Mozilla/5.0 with no platform.
A warning for LiveView pages without the hook
Settings and the dashboard now list each live session whose pages don’t run the analytics hook. On those pages live navigation, clicks and exits aren’t recorded, and the JavaScript check that tells a person from a bot doesn’t run. The warning says how to add the hook: in your own live session, in PhoenixKit’s through extra_live_session_on_mount, or in a library’s on_mount option.
Localized admin pages left out
Excluded paths now also match after a language prefix, so /admin* leaves out /et/admin/.... Before, admin pages in a language other than the default were tracked: page views, live navigation, clicks and recordings. When every hit of a site on a day is later marked as a bot or your own traffic, that day’s rolled-up row is dropped instead of keeping the old counts. Running the rollup again after pruning no longer erases a day’s page, source and technology breakdowns.
The admin pages also come in Ukrainian, next to English, Estonian and Russian.
Upgrading
No migrations. Update the dependency. From the day of the deploy, admin pages in other languages stop showing in the reports. If you list networks in the new field, traffic from them is marked from then on and left out while Leave out internal networks is ticked.
Full release notes: Web Analytics 0.8.0
0.8.0 · 24 October 2026
No migrations. On a multi-language install, PhoenixKit’s admin pages in a language other than the default were being tracked; see Fixed.
Added
- Internal networks in Settings. A new Leave out internal networks
field (
web_analytics_internal_networks_secret) takes one address or CIDR network per line, IPv4 or IPv6, and adds them to the app config’sinternal_networks; both lists count. Every line must parse, and a network wider than/8(IPv4) or/16(IPv6) is refused, as is a zone id or a prefix that isn’t plain digits. The key carriessecret, so core leaves the value out of the activity log, settings history and change broadcast. A failed write is logged without the value. The list is read with the hit’s other settings in one cached read. - More bots posing as browsers are caught. A new
stale_browserbot reason (weight 20, so it counts only together with another reason) covers Chrome, Edge and Firefox about two years behind the current release, and Safari before 16. The:browser_versions_as_ofconfig pins the judging day for test fixtures. New User-Agent markers: GoogleOther, Google-InspectionTool, heritrix, RootEvidence, Playwright, Puppeteer, Selenium,k6/at the start of the string, and a bareMozilla/5.0with no platform. - A warning for tracked LiveView pages that don’t run
LiveHook. Settings and the dashboard list each live_session with unhooked pages, and how to hook it (your own live_session, PhoenixKit’s throughconfig :phoenix_kit, extra_live_session_on_mount, a library’son_mount:, or wrapping a bareliveroute). NewLiveHook.coverage/1andLiveHook.runs_in?/1. - Ukrainian (uk) translations, alongside en, et and ru.
Changed
Retention.rollup_day/1drops a site’sdaily_statsrow for a day once every raw hit of that site that day is marked (a bot found later, or your own traffic), instead of keeping the old counts. A site whose raw events were pruned keeps its rollup.- Locked dependencies refreshed (
phoenix_kit2.64.1).
Fixed
web_analytics_exclude_pathsalso matches past a leading locale segment, so/admin*leaves out/et/admin/.... Before this, localized admin page views, live navigation, clicks, beacons and recordings were tracked. The plug, hook, beacon, recordings, alert path filters andLiveHook.coverage/1use the same matcher. A first segment shaped like a locale but not one (/faq/admin) is matched the same way.- Re-running
Retention.rollup_day/1after pruning no longer erases a pruned site’s page, acquisition and technology breakdowns (daily_dims).
Web Analytics 0.8.0. Install or update: {:phoenix_kit_web_analytics, "~> 0.8"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.