diff --git a/.gitignore b/.gitignore
index 6b32919..a7ffc6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ node_modules
.next
.DS_Store
.docusaurus
+.env
diff --git a/google-analytics.tsx b/google-analytics.tsx
new file mode 100644
index 0000000..49d730d
--- /dev/null
+++ b/google-analytics.tsx
@@ -0,0 +1,23 @@
+import Script from 'next/script'
+
+const GA_MEASUREMENT_ID = process.env.GA_MEASUREMENT_ID // Or use env variable
+
+export default function GoogleAnalytics() {
+ return (
+ <>
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/theme.config.tsx b/theme.config.tsx
index 97802c3..41992f9 100644
--- a/theme.config.tsx
+++ b/theme.config.tsx
@@ -1,6 +1,9 @@
import { useConfig } from 'nextra-theme-docs'
import { useTheme } from 'next-themes'
import { type DocsThemeConfig } from 'nextra-theme-docs'
+import GoogleAnalytics from './google-analytics'
+
+
const config: DocsThemeConfig = {
logo: function LogoComponent() {
@@ -36,16 +39,21 @@ const config: DocsThemeConfig = {
<>
-
+
>
)
},
primaryHue: 210,
footer: {
text: (
+ <>
{new Date().getFullYear()} © Ants AI
+
+ >
+
+
)
},
darkMode: true,