Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion basics/next-app-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import posthog from "posthog-js"
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: "/ingest",
ui_host: "https://us.posthog.com",
defaults: '2025-05-24',
defaults: '2025-11-30',
capture_exceptions: true,
debug: process.env.NODE_ENV === "development",
});
Expand Down
2 changes: 1 addition & 1 deletion basics/next-app-router/instrumentation-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: "/ingest",
ui_host: "https://us.posthog.com",
// Include the defaults option as required by PostHog
defaults: '2025-05-24',
defaults: '2025-11-30',
// Enables capturing unhandled exceptions via Error Tracking
capture_exceptions: true,
// Turn on debug in development mode
Expand Down
2 changes: 1 addition & 1 deletion basics/next-pages-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ import posthog from "posthog-js"
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: "/ingest",
ui_host: "https://us.posthog.com",
defaults: '2025-05-24',
defaults: '2025-11-30',
capture_exceptions: true,
debug: process.env.NODE_ENV === "development",
});
Expand Down
2 changes: 1 addition & 1 deletion basics/next-pages-router/instrumentation-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: "/ingest",
ui_host: "https://us.posthog.com",
// Include the defaults option as required by PostHog
defaults: '2025-05-24',
defaults: '2025-11-30',
// Enables capturing unhandled exceptions via Error Tracking
capture_exceptions: true,
// Turn on debug in development mode
Expand Down
2 changes: 1 addition & 1 deletion basics/react-react-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import posthog from "posthog-js"
posthog.init(import.meta.env.VITE_POSTHOG_KEY!, {
api_host: import.meta.env.VITE_POSTHOG_HOST,
ui_host: import.meta.env.VITE_POSTHOG_HOST || "https://us.i.posthog.com",
person_profiles: 'identified_only',
defaults: '2025-11-30',
capture_exceptions: true,
debug: import.meta.env.DEV,
});
Expand Down
2 changes: 1 addition & 1 deletion basics/react-react-router/src/lib/posthog-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (typeof window !== 'undefined' && !posthog.__loaded) {
api_host: "/ingest",
ui_host: import.meta.env.VITE_POSTHOG_HOST || "https://us.i.posthog.com",
// Include the defaults option as required by PostHog
person_profiles: 'identified_only',
defaults: '2025-11-30',
// Enables capturing unhandled exceptions via Error Tracking
capture_exceptions: true,
// Turn on debug in development mode
Expand Down
2 changes: 1 addition & 1 deletion basics/react-tanstack-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import posthog from "posthog-js"
posthog.init(import.meta.env.VITE_POSTHOG_KEY!, {
api_host: "/ingest",
ui_host: import.meta.env.VITE_POSTHOG_HOST || "https://us.i.posthog.com",
person_profiles: 'identified_only',
defaults: '2025-11-30',
capture_exceptions: true,
debug: import.meta.env.DEV,
});
Expand Down
2 changes: 1 addition & 1 deletion basics/react-tanstack-router/src/lib/posthog-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (typeof window !== 'undefined' && !posthog.__loaded) {
api_host: "/ingest",
ui_host: import.meta.env.VITE_POSTHOG_HOST || "https://us.i.posthog.com",
// Include the defaults option as required by PostHog
person_profiles: 'identified_only',
defaults: '2025-11-30',
// Enables capturing unhandled exceptions via Error Tracking
capture_exceptions: true,
// Turn on debug in development mode
Expand Down
2 changes: 1 addition & 1 deletion basics/tanstack-start/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function initPostHog() {
posthog.init(import.meta.env.VITE_POSTHOG_KEY!, {
api_host: '/ingest',
ui_host: import.meta.env.VITE_POSTHOG_HOST || 'https://us.posthog.com',
defaults: '2025-05-24',
defaults: '2025-11-30',
capture_exceptions: true,
debug: import.meta.env.DEV,
loaded: (posthog) => {
Expand Down
2 changes: 1 addition & 1 deletion basics/tanstack-start/src/lib/posthog-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function initPostHog() {
api_host: '/ingest',
ui_host: import.meta.env.VITE_POSTHOG_HOST || 'https://us.posthog.com',
// Include the defaults option as required by PostHog
defaults: '2025-05-24',
defaults: '2025-11-30',
// Enables capturing unhandled exceptions via Error Tracking
capture_exceptions: true,
// Turn on debug in development mode
Expand Down