Skip to content

Commit

Permalink
chore: analytics and docs search
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 committed Oct 8, 2023
1 parent d553f07 commit b79c05d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ export default defineConfig({
'0.x': 'https://v0-charts.ant.design/',
},
docsearchOptions: {
apiKey: 'cd83d8f913aeb993cd93f45fdbe9b5ac',
// indexName: 'charts-ant-design',
appId: 'I1DYJKMAUK',
apiKey: '5d0fcf465bcfa6fe6ef14d1bb1b7fb0f',
indexName: 'ant-design-charts-antgroup',
// container: '### REPLACE ME WITH A CONTAINER (e.g. div) ###',
debug: false,
},
navs: [
{
Expand Down Expand Up @@ -447,4 +450,12 @@ export default defineConfig({
},
links: [],
scripts: [],
analytics: {
// google analytics 的 key (GA 4)
// ga_v2: 'G-abcdefg',
// 若你在使用 GA v1 旧版本,请使用 `ga` 来配置
ga_v2: 'G-59GRRXNS00',
// 百度统计的 key
// baidu: 'baidu_tongji_key',
},
});

0 comments on commit b79c05d

Please sign in to comment.