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!

fixed unique pageviews tracking

Blue Moused3760d78abdb
diff --git a/apps/production/src/analytics/analytics.controller.ts b/apps/production/src/analytics/analytics.controller.ts
index 311304c4b..061e2083a 100644
--- a/apps/production/src/analytics/analytics.controller.ts
+++ b/apps/production/src/analytics/analytics.controller.ts
@@ -985,7 +985,7 @@ export class AnalyticsController {
await this.analyticsService.processInteractionSD(sessionHash, logDTO.pid)
- if (unique && logDTO.unique) {
+ if (!unique && logDTO.unique) {
throw new ForbiddenException(
'The event was not saved because it was not unique while unique only param is provided',
)