From 2e03fd9175a9e4cdda571530b12275aa7520155d Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Sat, 24 Feb 2024 14:01:03 +0000 Subject: [PATCH] Added google analytics and net.kg analytics --- src/app/layout.tsx | 13 +++++++++++++ src/widgets/Footer/Footer.tsx | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9bec346..4ad024d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,6 +6,18 @@ import { Providers } from "./Providers"; import Navbar from "@/widgets/Navbar/Navbar"; import Footer from "@/widgets/Footer/Footer"; +const googleAnalyticsHtml = ` + + + +` + export default function RootLayout({ children, }: Readonly<{ @@ -13,6 +25,7 @@ export default function RootLayout({ }>) { return ( + diff --git a/src/widgets/Footer/Footer.tsx b/src/widgets/Footer/Footer.tsx index 469f680..9f621ad 100644 --- a/src/widgets/Footer/Footer.tsx +++ b/src/widgets/Footer/Footer.tsx @@ -10,6 +10,41 @@ import app_store_btn from "./icons/app-store-btn.svg"; import play_market_btn from "./icons/play-market-btn.svg"; const Footer = () => { + + const netKgFooterScript =` + + + + + + + + + + ` + return (