Skip to content
Merged
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
4 changes: 2 additions & 2 deletions src/nextjs/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ LOCATION: in the root of the application or inside an src folder.
==============================
Changes:
- Create or update the instrumentation-client.${
language === 'typescript' ? 'tsx' : 'jsx'
language === 'typescript' ? 'ts' : 'js'
} file to use the PostHog client. If the file does not exist yet, create it.
- Do *not* import instrumentation-client.${
language === 'typescript' ? 'tsx' : 'jsx'
language === 'typescript' ? 'ts' : 'js'
} in any other file; Next.js will automatically handle it.
- Do not modify any other pages/components in the Next.js application; the PostHog client will be automatically initialized and handle all pageview tasks on its own.

Expand Down
Loading