diff --git a/apps/docs/src/.vitepress/config.mts b/apps/docs/src/.vitepress/config.mts index 3f19ea4..493dcef 100644 --- a/apps/docs/src/.vitepress/config.mts +++ b/apps/docs/src/.vitepress/config.mts @@ -36,6 +36,17 @@ export default defineConfig({ href: "/eddies/logo.png", }, ], + [ + "script", + { + src: "https://www.googletagmanager.com/gtag/js?id=G-FKZEV9Q6M2", + }, + ], + [ + "script", + {}, + "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-FKZEV9Q6M2');", + ], ], themeConfig: { logo: "/logo.png", diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index 8c8746e..bdfeb33 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -8,7 +8,7 @@ export default function Page() { const [theme, setTheme] = useState<"dark" | "light">("dark"); return (
- console.log(editor.getJSON())} /> + console.log(editor)} />