From 9246b9d646deb6c4c3aa97116d8759c648933e7b Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Mon, 14 Apr 2025 10:28:43 +0100 Subject: [PATCH] Cleanup --- .../java/stirling/software/SPDF/service/PostHogService.java | 2 +- src/main/resources/templates/fragments/common.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/stirling/software/SPDF/service/PostHogService.java b/src/main/java/stirling/software/SPDF/service/PostHogService.java index c837e987..51faba5b 100644 --- a/src/main/java/stirling/software/SPDF/service/PostHogService.java +++ b/src/main/java/stirling/software/SPDF/service/PostHogService.java @@ -63,7 +63,7 @@ public class PostHogService { if (!applicationProperties.getSystem().isAnalyticsEnabled()) { return; } - + properties.put("app_version", appVersion); postHog.capture(uniqueId, eventName, properties); } diff --git a/src/main/resources/templates/fragments/common.html b/src/main/resources/templates/fragments/common.html index ef36de92..e6b155dc 100644 --- a/src/main/resources/templates/fragments/common.html +++ b/src/main/resources/templates/fragments/common.html @@ -143,8 +143,7 @@ person_profiles: 'always', mask_all_text: true, mask_all_element_attributes: true, - opt_out_capturing_by_default: true, - debug: true + opt_out_capturing_by_default: true }) const baseUrl = window.location.hostname; posthog.register_once({