chore: enable session replay

This commit is contained in:
Carl-Gerhard Lindesvärd
2026-02-26 19:49:38 +01:00
parent 22fb4acf12
commit baedf4343b
3 changed files with 24 additions and 7 deletions

View File

@@ -20,7 +20,7 @@
"@opennextjs/cloudflare": "^1.16.5",
"@openpanel/common": "workspace:*",
"@openpanel/geo": "workspace:*",
"@openpanel/nextjs": "^1.1.1",
"@openpanel/nextjs": "^1.2.0",
"@openpanel/payments": "workspace:^",
"@openpanel/sdk-info": "workspace:^",
"@openstatus/react": "0.0.3",

View File

@@ -42,6 +42,9 @@ export default function Layout({ children }: { children: React.ReactNode }) {
{process.env.NEXT_PUBLIC_OP_CLIENT_ID && (
<OpenPanelComponent
clientId={process.env.NEXT_PUBLIC_OP_CLIENT_ID}
sessionReplay={{
enabled: true,
}}
trackAttributes
trackOutgoingLinks
trackScreenViews