Add honeycomb pattern to widgets and fix PostHog anonymous user tracking
- Widget containerBackground now shows honeycomb texture when toggle is enabled - Change PostHog personProfiles from .never to .always so anonymous sessions and unique visitors are properly counted without identifying users Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -776,6 +776,11 @@ struct honeyDue: Widget {
|
||||
startPoint: .topLeading,
|
||||
endPoint: .bottomTrailing
|
||||
)
|
||||
|
||||
// Honeycomb pattern overlay (if enabled)
|
||||
if HoneycombSetting.isEnabled {
|
||||
HoneycombTexture(opacity: 0.10)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,8 +42,9 @@ final class AnalyticsManager {
|
||||
|
||||
let config = PostHogConfig(apiKey: Self.apiKey, host: Self.host)
|
||||
|
||||
// Anonymous-only — no user identification, events use anonymous IDs
|
||||
config.personProfiles = .never
|
||||
// Anonymous person profiles — no user identification, but PostHog can
|
||||
// count unique visitors and tie sessions to anonymous device IDs
|
||||
config.personProfiles = .always
|
||||
|
||||
// Auto-capture
|
||||
config.captureElementInteractions = true
|
||||
|
||||
Reference in New Issue
Block a user