From 649b9be5c65d3d36befcbe31b19db4ea528ecc56 Mon Sep 17 00:00:00 2001 From: L-Pircy Date: Wed, 27 Mar 2024 19:13:52 +0530 Subject: [PATCH 1/2] g tag for analytics added --- .env | 1 + app/layout.tsx | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..b2d77c2 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +GOOGLE_ANALYTICS="G-WL0NQ34KX0" \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx index 2f0cc1d..e47c432 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,5 @@ import type { Metadata } from "next"; +import Script from "next/script"; import { Inter } from "next/font/google"; import "./globals.css"; import { Analytics } from "@vercel/analytics/react"; @@ -19,6 +20,20 @@ export default function RootLayout({ }>) { return ( + + + + {children} From 626ab5818c3c4ffbb17287edf4e5735d0d712622 Mon Sep 17 00:00:00 2001 From: L-Pircy Date: Wed, 27 Mar 2024 19:23:04 +0530 Subject: [PATCH 2/2] g tag for analytics changed --- .env | 1 - .gitignore | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index b2d77c2..0000000 --- a/.env +++ /dev/null @@ -1 +0,0 @@ -GOOGLE_ANALYTICS="G-WL0NQ34KX0" \ No newline at end of file diff --git a/.gitignore b/.gitignore index fd3dbb5..00bba9b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ yarn-error.log* # local env files .env*.local +.env # vercel .vercel