diff --git a/src/.vitepress/config.mts b/src/.vitepress/config.mts index e6e3e3f..693929a 100644 --- a/src/.vitepress/config.mts +++ b/src/.vitepress/config.mts @@ -25,5 +25,17 @@ export default defineConfig({ content: "71A3myPAsbW4yU-SCkZlmMSVmyagcPQGxCxU2IfHhx4", }, ], + [ + 'script', + { + async: true, + src: 'https://www.googletagmanager.com/gtag/js?id=G-3TJCENNN9X', + }, + ], + [ + 'script', + {}, + "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-3TJCENNN9X');", + ], ], });