Skip to content

Commit

Permalink
posthog: Create profiles for authenticated users only
Browse files Browse the repository at this point in the history
  • Loading branch information
farnoux committed Jan 20, 2025
1 parent 9f156a3 commit 7eb1bc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/components/tracking/TrackingProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export const createTrackingClient = ({
posthog.init(key, {
api_host: apiHost,
ui_host: host,
// create profiles for authenticated users only
person_profiles: 'identified_only',
persistence: getConsent() ? 'cookie' : 'memory',
capture_pageview: false, // on utilise PostHogPageView pour capturer les `page views`

Expand Down

0 comments on commit 7eb1bc9

Please sign in to comment.