fix: improve Plausible
This commit is contained in:
+3
-7
@@ -1,3 +1,4 @@
|
|||||||
|
import PlausibleProvider from 'next-plausible'
|
||||||
import TopLoader from '../components/top-loader'
|
import TopLoader from '../components/top-loader'
|
||||||
import Navigasyon from '../components/navigasyon'
|
import Navigasyon from '../components/navigasyon'
|
||||||
import ThemeRegistry from './theme-registy'
|
import ThemeRegistry from './theme-registy'
|
||||||
@@ -53,14 +54,8 @@ const jsonLd = {
|
|||||||
export default async function RootLayout({children}) {
|
export default async function RootLayout({children}) {
|
||||||
return (
|
return (
|
||||||
<html lang='fr' suppressHydrationWarning>
|
<html lang='fr' suppressHydrationWarning>
|
||||||
<head>
|
|
||||||
<script
|
|
||||||
defer
|
|
||||||
data-domain='pawol.nu'
|
|
||||||
src='https://plausible.io/js/pa-3sQidCSfiSOXQUh-4La0T.js'
|
|
||||||
/>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
|
<PlausibleProvider src='https://plausible.io/js/pa-3sQidCSfiSOXQUh-4La0T.js'>
|
||||||
<TopLoader color='#ffeb3b' />
|
<TopLoader color='#ffeb3b' />
|
||||||
<ThemeRegistry>
|
<ThemeRegistry>
|
||||||
<Navigasyon />
|
<Navigasyon />
|
||||||
@@ -72,6 +67,7 @@ export default async function RootLayout({children}) {
|
|||||||
dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}
|
dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
|
</PlausibleProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user