Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/PostHog/posthog-js into boo…
Browse files Browse the repository at this point in the history
…tstrapped-flag-evt-property
  • Loading branch information
havenbarnes committed Dec 9, 2024
2 parents 3895c2e + 99e92b5 commit 17918b9
Show file tree
Hide file tree
Showing 7 changed files with 382 additions and 199 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.194.6 - 2024-12-09

- feat: Load site functions via RemoteConfig (#1580)

## 1.194.5 - 2024-12-06

- feat: Added better sub logging utils (#1581)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthog-js",
"version": "1.194.5",
"version": "1.194.6",
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.",
"repository": "https://github.com/PostHog/posthog-js",
"author": "[email protected]",
Expand Down
4 changes: 3 additions & 1 deletion playground/nextjs/src/posthog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ if (typeof window !== 'undefined') {
persistence: cookieConsentGiven() ? 'localStorage+cookie' : 'memory',
person_profiles: PERSON_PROCESSING_MODE === 'never' ? 'identified_only' : PERSON_PROCESSING_MODE,
persistence_name: `${process.env.NEXT_PUBLIC_POSTHOG_KEY}_nextjs`,
opt_in_site_apps: true,
__preview_remote_config: true,
...configForConsent(),
})
// Help with debugging(window as any).posthog = posthog
// Help with debugging
;(window as any).posthog = posthog
}

export const posthogHelpers = {
Expand Down
Loading

0 comments on commit 17918b9

Please sign in to comment.