Skip to content

Commit

Permalink
theme: 改用 google analytics 的账号。
Browse files Browse the repository at this point in the history
  • Loading branch information
chenlb committed Dec 25, 2024
1 parent 84baa7e commit 9a5cd0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ export default defineConfig({
,[
'script', {
async: '',
src: 'https://www.googletagmanager.com/gtag/js?id=G-9X6DXQCC8F'
src: 'https://www.googletagmanager.com/gtag/js?id=G-XWCE7Q5QDS'
}
],[
'script', {},
"window.dataLayer = window.dataLayer || [];\n" +
"function gtag(){dataLayer.push(arguments);}\n" +
"gtag('js', new Date());\n" +
"gtag('config', 'G-9X6DXQCC8F');"
"gtag('config', 'G-XWCE7Q5QDS');"
]
],
themeConfig: {
Expand Down

0 comments on commit 9a5cd0a

Please sign in to comment.