谷歌分析

This commit is contained in:
jimmy committed 2025-02-06 10:04:14 +08:00
1 parent 1327988568
commit 8043b687a7
1 file changed
+13 -13
+13 -13
View File
@@ -20,19 +20,19 @@ export default defineConfig({
base: process.env.BASE || '/', base: process.env.BASE || '/',
head: [ head: [
// 谷歌分析,暂不使用 // 谷歌分析,暂不使用
// ['script', ['script',
// { {
// async: '', async: 'async',
// src: 'https://www.googletagmanager.com/gtag/js?id=G-MB7XVBG1TQ', src: 'https://www.googletagmanager.com/gtag/js?id=G-E6X527581S',
// }], }],
// [ [
// 'script', 'script',
// {}, {},
// `window.dataLayer = window.dataLayer || []; `window.dataLayer = window.dataLayer || [];
// function gtag(){dataLayer.push(arguments);} function gtag(){dataLayer.push(arguments);}
// gtag('js', new Date()); gtag('js', new Date());
// gtag('config', 'G-MB7XVBG1TQ');`, gtag('config', 'G-E6X527581S');`,
// ], ],
[ [
'link', 'link',