@@ -5,6 +5,7 @@ import "../styles/editor/editorStyles.scss"
55
66import type { AppProps , AppType } from "next/app"
77import { Skeleton , Stack } from "@chakra-ui/react"
8+ import { datadogRum } from "@datadog/browser-rum"
89import { GrowthBook } from "@growthbook/growthbook"
910import { GrowthBookProvider } from "@growthbook/growthbook-react"
1011import Intercom from "@intercom/messenger-js-sdk"
@@ -28,6 +29,23 @@ type AppPropsWithAuthAndLayout = AppProps & {
2829 Component : NextPageWithLayout
2930}
3031
32+ datadogRum . init ( {
33+ applicationId : "32c64617-51e3-4a6e-a977-ad113021ffae" ,
34+ clientToken : "pub89baaf356268edcb9ed95847d7c5d679" ,
35+ // `site` refers to the Datadog site parameter of your organization
36+ // see https://docs.datadoghq.com/getting_started/site/
37+ site : "datadoghq.com" ,
38+ service : "isomer-next" ,
39+ env : env . NEXT_PUBLIC_APP_ENV ,
40+ version : env . NEXT_PUBLIC_APP_VERSION ,
41+ sessionSampleRate : 100 ,
42+ sessionReplaySampleRate : 100 ,
43+ trackUserInteractions : true ,
44+ trackResources : true ,
45+ trackLongTasks : true ,
46+ defaultPrivacyLevel : "mask-user-input" ,
47+ } )
48+
3149// Create a GrowthBook instance
3250const gb = new GrowthBook ( {
3351 apiHost : "https://cdn.growthbook.io" ,
0 commit comments