Commit b0dfdf8 1 parent 8624f1d commit b0dfdf8 Copy full SHA for b0dfdf8
File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ import { Toaster } from '@/components/ui/toaster'
11
11
import { env } from '@/lib/env'
12
12
import { HeartFilledIcon } from '@radix-ui/react-icons'
13
13
import type { Metadata , Viewport } from 'next'
14
+ import { AxiomWebVitals } from 'next-axiom'
14
15
import { NextIntlClientProvider , useTranslations } from 'next-intl'
15
16
import { getLocale , getMessages } from 'next-intl/server'
17
+ import PlausibleProvider from 'next-plausible'
16
18
import Image from 'next/image'
17
19
import Link from 'next/link'
18
20
import { Suspense } from 'react'
@@ -233,6 +235,14 @@ export default async function RootLayout({
233
235
const messages = await getMessages ( )
234
236
return (
235
237
< html lang = { locale } suppressHydrationWarning >
238
+ { env . PLAUSIBLE_DOMAIN && (
239
+ < PlausibleProvider
240
+ domain = { env . PLAUSIBLE_DOMAIN }
241
+ trackOutboundLinks
242
+ manualPageviews
243
+ />
244
+ ) }
245
+ < AxiomWebVitals />
236
246
< ApplePwaSplash icon = "/logo-with-text.png" color = "#027756" />
237
247
< body className = "pt-16 min-h-[100dvh] flex flex-col items-stretch bg-slate-50 bg-opacity-30 dark:bg-background" >
238
248
< NextIntlClientProvider messages = { messages } >
You can’t perform that action at this time.
0 commit comments