removed vercel analytics, added umami (#6)
This commit is contained in:
@@ -8,7 +8,7 @@ import "./globals.css";
|
||||
|
||||
import {Roboto} from 'next/font/google';
|
||||
import React, {useEffect, useState} from "react";
|
||||
import ClientCookieConsentBanner from "./components/ClientCookieConsentBanner";
|
||||
//import ClientCookieConsentBanner from "./components/ClientCookieConsentBanner";
|
||||
|
||||
|
||||
const roboto = Roboto({
|
||||
@@ -35,11 +35,9 @@ export default function RootLayout({
|
||||
|
||||
return (
|
||||
<html lang="en">
|
||||
<script defer src="http://umami.denshooter.de:3010/script.js" data-website-id="1f213877-deef-4238-8df1-71a5a3bcd142"></script>
|
||||
<body className={roboto.variable}>
|
||||
<ClientCookieConsentBanner onConsentChange={handleConsentChange}/>
|
||||
{children}
|
||||
{consent === "accepted" && <SpeedInsights/>}
|
||||
{consent === "accepted" && <Analytics/>}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user