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!

Merge branch 'main' into feature/adjustable-salt-setting

Blue Mouseff45d0a4f3f4
diff --cc backend/apps/community/src/analytics/analytics.controller.ts
index d2405a84a,9fa1ca554..3916feee5
--- a/backend/apps/community/src/analytics/analytics.controller.ts
+++ b/backend/apps/community/src/analytics/analytics.controller.ts
@@@ -1148,8 -1146,12 +1152,12 @@@ export class AnalyticsController
ip,
)
- await this.analyticsService.processInteractionSD(psid, logDTO.pid)
+ await this.analyticsService.recordSession(psid, logDTO.pid, true)
+ const { city, region, regionCode, country } = getGeoDetails(ip, null)
+
+ this.analyticsService.checkCountryBlacklist(project, country)
+
const { deviceType, browserName, browserVersion, osName, osVersion } =
await this.analyticsService.getRequestInformation(headers)
diff --cc web/app/pages/Project/Settings/ProjectSettings.tsx
index 8ffebdc98,ca6431274..a0bc3e90d
--- a/web/app/pages/Project/Settings/ProjectSettings.tsx
+++ b/web/app/pages/Project/Settings/ProjectSettings.tsx
@@@ -289,8 -289,8 +289,9 @@@ const ProjectSettings = () =>
isPasswordProtected: false,
origins: null,
ipBlacklist: null,
+ countryBlacklist: [],
botsProtectionLevel: 'basic',
+ saltRotation: 'daily',
gscPropertyUri: null,
})
const [validated, setValidated] = useState(false)