Skip to content

Commit 01ef457

Browse files
committed
docs: update GA
1 parent ec7c1ea commit 01ef457

File tree

4 files changed

+8
-22
lines changed

4 files changed

+8
-22
lines changed

packages/docs/docs/config/README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,6 @@ Specify the temporary directory for client.
8080

8181
Specify the output directory for `vuepress build`. If a relative path is specified, it will be resolved based on `process.cwd()`.
8282

83-
### ga
84-
85-
- Type: `string`
86-
- Default: `undefined`
87-
88-
Provide the Google Analytics ID to enable integration.
89-
90-
::: tip
91-
Please be aware of [GDPR (2018 reform of EU data protection rules)](https://ec.europa.eu/commission/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules_en) and consider setting Google Analytics to [anonymize IPs](https://support.google.com/analytics/answer/2763052?hl=en) where appropriate and/or needed.
92-
:::
93-
9483
### locales
9584

9685
- Type: `{ [path: string]: Object }`

packages/docs/docs/plugin/official/plugin-google-analytics.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ module.exports = {
3030
}
3131
```
3232

33+
::: tip
34+
Please be aware of [GDPR (2018 reform of EU data protection rules)](https://ec.europa.eu/commission/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules_en) and consider setting Google Analytics to [anonymize IPs](https://support.google.com/analytics/answer/2763052?hl=en) where appropriate and/or needed.
35+
:::
36+
3337
## Options
3438

3539
### ga

packages/docs/docs/zh/config/README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,6 @@ module.exports = {
7878

7979
指定 `vuepress build` 的输出目录。如果传入的是相对路径,则会基于 `process.cwd()` 进行解析。
8080

81-
### ga
82-
83-
- 类型: `string`
84-
- 默认值: `undefined`
85-
86-
提供一个 Google Analytics ID 来使 GA 生效。
87-
88-
::: tip 提示
89-
请留意 [GDPR (2018年欧盟数据保护规则改革)](https://ec.europa.eu/commission/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules_en), 在合适或者需要的情况下,考虑将 Google Analytics 设置为[匿名化的 IP](https://support.google.com/analytics/answer/2763052?hl=zh-Hans)
90-
:::
91-
9281
### locales
9382

9483
- 类型: `{ [path: string]: Object }`

packages/docs/docs/zh/plugin/official/plugin-google-analytics.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ module.exports = {
2929
}
3030
```
3131

32+
::: tip 提示
33+
请留意 [GDPR (2018年欧盟数据保护规则改革)](https://ec.europa.eu/commission/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules_en), 在合适或者需要的情况下,考虑将 Google Analytics 设置为[匿名化的 IP](https://support.google.com/analytics/answer/2763052?hl=zh-Hans)
34+
:::
35+
3236
## 选项
3337

3438
### ga

0 commit comments

Comments
 (0)