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!

Remove 'active' field

Blue Mousec9ec760c6867
diff --git a/backend/apps/production/src/analytics/analytics.service.ts b/backend/apps/production/src/analytics/analytics.service.ts
index 3e94ed1ab..1ce83cfa1 100644
--- a/backend/apps/production/src/analytics/analytics.service.ts
+++ b/backend/apps/production/src/analytics/analytics.service.ts
@@ -3789,7 +3789,6 @@ export class AnalyticsService {
): Promise<object | void> {
const analyticsSubquery = `
SELECT
- isNotNull(sid) AS active,
CAST(psid, 'String') AS psidCasted,
cc,
os,
@@ -3805,7 +3804,6 @@ export class AnalyticsService {
const customEVSubquery = `
SELECT
- 0 AS active,
CAST(psid, 'String') AS psidCasted,
cc,
os,
@@ -3822,7 +3820,6 @@ export class AnalyticsService {
const query = `
SELECT
psidCasted AS psid,
- any(active) AS active,
any(cc) AS cc,
any(os) AS os,
any(br) AS br,