From 56d913cb8017f23010aa9cab48c6d70523513701 Mon Sep 17 00:00:00 2001 From: Marco Schaefer <47627413+codecapitano@users.noreply.github.com> Date: Fri, 24 Nov 2023 10:34:28 +0100 Subject: [PATCH] chore: update demo config to use new Faro features (#394) --- demo/src/client/faro/initialize.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/demo/src/client/faro/initialize.ts b/demo/src/client/faro/initialize.ts index f3b7813f4..346fe1a68 100644 --- a/demo/src/client/faro/initialize.ts +++ b/demo/src/client/faro/initialize.ts @@ -33,8 +33,12 @@ export function initializeFaro(): Faro { }, }), ], - session: (window as any).__PRELOADED_STATE__?.faro?.session, + sessionTracking: { + enabled: true, + }, batching: { + // Batching is enabled by default and there is normally no reason to disable it. + // We did iy i the demo so users can inspect each single requests sent due to certain interactions. enabled: false, }, app: {