Skip to content

Commit 414bb7a

Browse files
authored
Merge pull request #476 from onekey-sec/docs
Add analytics to the website
2 parents 6b77523 + 6b92caf commit 414bb7a

File tree

4 files changed

+186
-123
lines changed

4 files changed

+186
-123
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
path: ~/.local/pipx
2525
key: pipx-cache
2626

27-
- run: pipx run --spec "mkdocs-material==8.3.9" mkdocs gh-deploy --force
27+
- run: pipx run --spec "mkdocs-material==8.5.10" mkdocs gh-deploy --force

mkdocs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,18 @@ extra:
6464
- icon: fontawesome/brands/linkedin
6565
link: https://www.linkedin.com/company/onekey-sec/
6666
name: ONEKEY on LinkedIn
67-
67+
analytics:
68+
provider: google
69+
property: G-RQC2V8NDHT
70+
consent:
71+
title: Cookie consent
72+
description: >-
73+
We use cookies to recognize your repeated visits and preferences, as well
74+
as to measure the effectiveness of our documentation and whether users
75+
find what they're searching for. With your consent, you're helping us to
76+
make our documentation better.
6877
6978
copyright: >
7079
Copyright © 2021 - 2022 ONEKEY GmbH.
7180
| <a href="/privacy/">Privacy policy</a>
81+
| <a href="#__consent">Change cookie settings</a>

0 commit comments

Comments
 (0)