diff --git a/docs/.vitepress/config/head.ts b/docs/.vitepress/config/head.ts index e67b8cc9d3..b6b2c64dfd 100644 --- a/docs/.vitepress/config/head.ts +++ b/docs/.vitepress/config/head.ts @@ -88,7 +88,23 @@ gtag('config', 'UA-175337989-1');`, 'script', { async: 'true', + src: 'https://www.googletagmanager.com/gtag/js?id=G-M74ZHEQ1M1', }, + ], + [ + 'script', + {}, + ` + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'G-M74ZHEQ1M1'); + `, + ], + [ + 'script', + {}, `(function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:2894908,hjsv:6};