From 9baa792111a19105dc9dd42d71d3753d5f396951 Mon Sep 17 00:00:00 2001 From: Hieuhuy Pham Date: Fri, 17 Jan 2025 19:52:56 -0500 Subject: [PATCH] Added google anal --- global.d.ts | 1 + src/app/layout.tsx | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/global.d.ts b/global.d.ts index 39ab749..46cf8d5 100644 --- a/global.d.ts +++ b/global.d.ts @@ -7,6 +7,7 @@ declare namespace NodeJS { declare global { interface Window { kofiWidgetOverlay: any; + dataLayer: any[]; } } export {}; \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 894f8ce..212f85f 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,6 +2,8 @@ import "tailwindcss/tailwind.css"; + +import Script from "next/script"; import React, { useEffect, useState } from "react"; import NightModeToggle from "@/components/NightModeToggle"; import Navbar from "@/components/NavigationBar"; @@ -49,8 +51,20 @@ export default function RootLayout({ children }: { children: React.ReactNode }) })(); `, }} + /> - +