Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

For brv / osv - include browser / os name in the results

Blue Mouse756a75a9fb11
diff --git a/backend/apps/production/src/analytics/analytics.service.ts b/backend/apps/production/src/analytics/analytics.service.ts
index 9b3dfe18a..571f7b661 100644
--- a/backend/apps/production/src/analytics/analytics.service.ts
+++ b/backend/apps/production/src/analytics/analytics.service.ts
@@ -259,6 +259,13 @@ const generateParamsQuery = (
columns = [...columns, 'cc']
}
+ // For browser version and OS version, include the browser or OS name
+ if (col === 'brv') {
+ columns = [...columns, 'br']
+ } else if (col === 'osv') {
+ columns = [...columns, 'os']
+ }
+
const columnsQuery = columns.join(', ')
if (type === 'performance') {