From c88b9c58237bc84f9a13361e1129c2ef85957bf2 Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Mon, 14 Apr 2025 10:24:34 +0100 Subject: [PATCH] Added app_version to all posthog captures --- .../java/stirling/software/SPDF/service/PostHogService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/stirling/software/SPDF/service/PostHogService.java b/src/main/java/stirling/software/SPDF/service/PostHogService.java index 29d0a6f61..c837e987c 100644 --- a/src/main/java/stirling/software/SPDF/service/PostHogService.java +++ b/src/main/java/stirling/software/SPDF/service/PostHogService.java @@ -63,6 +63,8 @@ public class PostHogService { if (!applicationProperties.getSystem().isAnalyticsEnabled()) { return; } + + properties.put("app_version", appVersion); postHog.capture(uniqueId, eventName, properties); }