removed vercel analytics, added umami (#6)

This commit is contained in:
Denshooter
2025-02-10 23:32:39 +01:00
committed by GitHub
parent 16b62a08ee
commit a5233d09a4
2 changed files with 22 additions and 25 deletions

View File

@@ -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>
);

View File

@@ -1,6 +1,6 @@
'use client';
import React, {useEffect, useState} from "react";
import React, { useEffect, useState } from "react";
import Header from "../components/Header";
import Footer_Back from "../components/Footer_Back";
@@ -15,7 +15,7 @@ export default function PrivacyPolicy() {
return (
<div className={`min-h-screen flex flex-col bg-radiant-animated ${isVisible ? 'animate-fly-in' : 'opacity-0'}`}>
<Header/>
<Header />
<div className="h-10"></div>
<main className="flex-grow p-10">
<h1 className="text-3xl font-bold">Privacy Policy</h1>
@@ -25,35 +25,34 @@ export default function PrivacyPolicy() {
</p>
<h2 className="text-2xl font-semibold mt-6">Information We Collect</h2>
<p className="mt-2">
I use Vercel&#39;s Speed Insights and Web Analytics to collect information about the usage of my
website.
This includes data such as page views, time spent on pages, interaction metrics, and performance
insights.
I use Umami Web Analytics to collect anonymized data about the usage of my website. This includes
information such as page views, time spent on pages, and general interaction metrics. No personally
identifiable information is stored or processed.
</p>
<h2 className="text-2xl font-semibold mt-6">How I Use Your Information</h2>
<p className="mt-2">
The information collected is used to improve the performance, usability, and user experience of my
website.
I analyze this data to optimize content, and enhance site performance.
The collected data is used solely to improve the performance, usability, and user experience of my
website. Since all data is anonymized, it cannot be linked back to any individual.
</p>
<h2 className="text-2xl font-semibold mt-6">Third-Party Services</h2>
<p className="mt-2">
Vercel may process collected data in accordance with their own privacy policies. Please review
<a href="https://vercel.com/legal/privacy-policy" className="text-blue-500 underline"> Vercel&#39;s
Privacy Policy</a> for more details.
Umami is a privacy-focused analytics tool that does not use cookies or track users across different
sites. More information can be found on the official Umami website.
</p>
<h2 className="text-2xl font-semibold mt-6">Data Protection</h2>
<h2 className="text-2xl font-semibold mt-6">Contact Form</h2>
<p className="mt-2">
I take data security seriously. The information collected through Vercel&#39;s Speed Insights and
Web
Analytics
is securely stored and only accessible to me.
If you use the contact form on my website, the submitted information will be sent to me via email.
This data is not stored or shared with third parties and is used solely to respond to your inquiry.
</p>
<h2 className="text-2xl font-semibold mt-6">Social Media Links</h2>
<p className="mt-2">
My website contains links to GitHub and LinkedIn. Clicking on these links may result in data
collection by the respective platforms, subject to their own privacy policies.
</p>
<h2 className="text-2xl font-semibold mt-6">Your Rights</h2>
<p className="mt-2">
You have the right to request information about your data, ask for corrections, or request its
deletion.
If you wish to exercise these rights, please contact me.
Since the collected data is fully anonymized, individual deletion requests are not applicable.
However, if you have any concerns, you can contact me.
</p>
<h2 className="text-2xl font-semibold mt-6">Contact Us</h2>
<p className="mt-2">
@@ -61,7 +60,7 @@ export default function PrivacyPolicy() {
contact form.
</p>
</main>
<Footer_Back/>
<Footer_Back />
</div>
);
}