From a87d886785ef8c46c629ba5d92921c7b4e70f5ee Mon Sep 17 00:00:00 2001 From: DrMint Date: Sat, 6 Aug 2022 11:31:06 +0200 Subject: [PATCH] Added analytics --- README.md | 2 ++ src/components/AppLayout.tsx | 33 +++++++++++++++++---------------- src/pages/api/revalidate.ts | 6 ++++++ 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index b554898..25269cb 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,8 @@ NEXT_PUBLIC_URL_IMG=https://url-to.img-accords-library.com NEXT_PUBLIC_URL_WATCH=https://url-to.watch-accords-library.com NEXT_PUBLIC_URL_SELF=https://url-to-front-accords-library.com NEXT_PUBLIC_URL_SEARCH=https://url-to.search-accords-library.com +NEXT_PUBLIC_UMAMI_URL=https://url-to.umami-accords-library.com +NEXT_PUBLIC_UMAMI_ID=abcdef0123456789 ``` Run in dev mode: diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx index 7a9dc5d..e1ee392 100644 --- a/src/components/AppLayout.tsx +++ b/src/components/AppLayout.tsx @@ -211,34 +211,35 @@ export const AppLayout = ({ {openGraph.title} - - - - + + + + - + + /> + /> - - + /> + + + +