diff --git a/package.json b/package.json
index b1d2ecf..268c3fb 100644
--- a/package.json
+++ b/package.json
@@ -21,6 +21,7 @@
"@nextui-org/navbar": "^2.0.32",
"@nextui-org/react": "^2.4.1",
"@nextui-org/system": "^2.2.1",
+ "@vercel/analytics": "^1.3.1",
"axios": "^1.7.3",
"dotenv": "^16.4.5",
"ionicons": "^7.3.1",
@@ -44,4 +45,4 @@
"postcss": "^8",
"tailwindcss": "^3.3.0"
}
-}
\ No newline at end of file
+}
diff --git a/pages/_app.js b/pages/_app.js
index d2a47f1..1436a27 100644
--- a/pages/_app.js
+++ b/pages/_app.js
@@ -3,11 +3,23 @@ import Navbar from "@/components/Shared/Navbar/Navbar";
import Footer from "@/components/Shared/Footer/Footer";
import Scroll from "@/components/Shared/Scroll";
import Head from "next/head";
+import { Analytics } from "@vercel/analytics/react"
function MyApp({ Component, pageProps }) {
return (
<>
+
+ {/* Google Tag Manager */}
+
+ {/* End Google Tag Manager */}
GitHub Community SRM | Open Source | SRM Institute of Science & Technology
@@ -115,6 +127,16 @@ function MyApp({ Component, pageProps }) {
+ {/* Google Tag Manager (noscript) */}
+
+ {/* End Google Tag Manager (noscript) */}
>
);
}
diff --git a/pages/about.js b/pages/about.js
index 13fb802..bbbc025 100644
--- a/pages/about.js
+++ b/pages/about.js
@@ -4,8 +4,19 @@ import Head from "next/head";
function AboutUs() {
return (
+ <>
+ {/* Google Tag Manager */}
+
+ {/* End Google Tag Manager */}
About Us | GitHub Community SRM
@@ -142,6 +153,17 @@ function AboutUs() {
}
`}
+ {/* Google Tag Manager (noscript) */}
+
+ {/* End Google Tag Manager (noscript) */}
+ >
);
}
diff --git a/pages/contact.js b/pages/contact.js
index a12cee8..3b60c1e 100644
--- a/pages/contact.js
+++ b/pages/contact.js
@@ -7,6 +7,16 @@ const Contact = () => {
return (
<>
+ {/* Google Tag Manager */}
+
+ {/* End Google Tag Manager */}
Contact Us | GitHub Community SRM | Support & Queries
@@ -50,6 +60,16 @@ const Contact = () => {
+ {/* Google Tag Manager (noscript) */}
+
+ {/* End Google Tag Manager (noscript) */}
>
);
};
diff --git a/pages/index.js b/pages/index.js
index df43cf5..0cb0c8d 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -5,9 +5,23 @@ import Domains from "@/components/Home/Domains";
import Gallery from "@/components/Home/Gallery";
import Sponsors from "@/components/Home/Sponsors";
import ContactForm from "@/components/Contact/ContactForm";
+import Head from "next/head";
const Index = () => {
return (
+ <>
+
+ {/* Google Tag Manager */}
+
+ {/* End Google Tag Manager */}
+
@@ -18,6 +32,17 @@ const Index = () => {
+ {/* Google Tag Manager (noscript) */}
+
+ {/* End Google Tag Manager (noscript) */}
+ >
);
};
diff --git a/pages/team.js b/pages/team.js
index f8488c0..2da1837 100644
--- a/pages/team.js
+++ b/pages/team.js
@@ -111,8 +111,19 @@ const Teams = () => {
};
return (
+ <>
+ {/* Google Tag Manager */}
+
+ {/* End Google Tag Manager */}
Meet the Team | GitHub Community SRM | Technical, Corporate, Creative
@@ -365,6 +376,17 @@ const Teams = () => {
+ {/* Google Tag Manager (noscript) */}
+
+ {/* End Google Tag Manager (noscript) */}
+ >
);
};
diff --git a/yarn.lock b/yarn.lock
index c8887c1..135ac22 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3573,6 +3573,13 @@
dependencies:
"@types/webidl-conversions" "*"
+"@vercel/analytics@^1.3.1":
+ version "1.3.1"
+ resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.3.1.tgz#e2b1deac1b5d14fa2e4fe36186ac5054c6385ae4"
+ integrity sha512-xhSlYgAuJ6Q4WQGkzYTLmXwhYl39sWjoMA3nHxfkvG+WdBT25c563a7QhwwKivEOZtPJXifYHR1m2ihoisbWyA==
+ dependencies:
+ server-only "^0.0.1"
+
ansi-regex@^5.0.1:
version "5.0.1"
resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz"
@@ -4844,6 +4851,11 @@ semver@^7.6.3:
resolved "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz"
integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
+server-only@^0.0.1:
+ version "0.0.1"
+ resolved "https://registry.yarnpkg.com/server-only/-/server-only-0.0.1.tgz#0f366bb6afb618c37c9255a314535dc412cd1c9e"
+ integrity sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==
+
sharp@^0.33.5:
version "0.33.5"
resolved "https://registry.npmjs.org/sharp/-/sharp-0.33.5.tgz"