From c1106725070541a9528f0d650f74b1c463f54f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Jaro=C5=A1?= <jarosr93@gmail.com> Date: Wed, 3 Aug 2022 07:07:14 +0200 Subject: [PATCH] FEATURE;Add umami track --- src/components/Footer.tsx | 5 ++++- src/pages/index.tsx | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index a0323f9..ce70422 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -23,7 +23,10 @@ const Footer: FC = () => { <b>Jsem plátce DPH.</b> Fyzická osoba zapsaná v živnostenském rejstříku v Karlových Varech (CZ0412) od 02.12.2019. </p> - <p className="mt-2">Tento web nepoužívá cookies.</p> + <p className="mt-2"> + Tento web nepoužívá cookies. Měření návšťěvnosti webu je zcela + anonymní a probíhá pouze na službě vlastníka webu. + </p> </GridCol> </Grid> </footer> diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1663aa2..4e61f78 100755 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -6,12 +6,19 @@ import Contact from "../components/Contact"; import FullStory from "../components/FullStory"; import { NextSeo, WebPageJsonLd } from "next-seo"; import Head from "next/head"; +import Script from "next/script"; const date = new Date().toISOString(); const Home: NextPage = () => { return ( <> + <Script + defer + type="text/javascript" + data-website-id="27410757-9ce4-4dad-a0ad-a1e2a0303495" + src="https://wa.romanjaros.dev/umami.js" + /> <Head> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> </Head>