Added app_version to all posthog captures

This commit is contained in:
Connor Yoh 2025-04-14 10:24:34 +01:00
parent b604b7dca9
commit c88b9c5823

View File

@ -63,6 +63,8 @@ public class PostHogService {
if (!applicationProperties.getSystem().isAnalyticsEnabled()) { if (!applicationProperties.getSystem().isAnalyticsEnabled()) {
return; return;
} }
properties.put("app_version", appVersion);
postHog.capture(uniqueId, eventName, properties); postHog.capture(uniqueId, eventName, properties);
} }