Skip to content

Commit

Permalink
chore: add ga4 key (#5161)
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc authored Jun 7, 2023
1 parent 72e0cc4 commit f96e896
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,14 @@ export default defineConfig({
],
},
mfsu: false,
analytics: {
// google analytics 的 key (GA 4)
// ga_v2: 'G-abcdefg',
// 若你在使用 GA v1 旧版本,请使用 `ga` 来配置
ga_v2: 'G-3L8SSDC4X6',
// 百度统计的 key
// baidu: 'baidu_tongji_key',
},
links: [],
scripts: [],
styles: ['https://fonts.googleapis.com/css?family=Gaegu'],
Expand Down

0 comments on commit f96e896

Please sign in to comment.