Skip to content

Commit 2c39f50

Browse files
authored
feat(docs): add google analytics and cookie consent (#353)
* feat(docs): add google analytics and cookie consent --------- Signed-off-by: Luca Muscariello <muscariello@ieee.org>
1 parent dc036d2 commit 2c39f50

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

mkdocs/mkdocs.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,22 @@ repo_url: https://github.com/agntcy/docs
88
edit_uri: edit/main/docs/
99

1010
extra:
11-
copyright: "© Copyright AGNTCY Contributors."
11+
copyright: >
12+
© Copyright AGNTCY Contributors.
13+
<a href="#__consent">Change cookie settings</a>
14+
analytics:
15+
provider: google
16+
property: G-H5NVFB80VS
17+
consent:
18+
title: Cookie consent
19+
description: >-
20+
We use cookies to recognize your repeated visits and preferences, as well
21+
as to measure the effectiveness of our documentation and whether users
22+
find what they're searching for. With your consent, you're helping us to
23+
make our documentation better.
24+
actions:
25+
- accept
26+
- reject
1227
extra_css:
1328
- stylesheets/custom.css
1429

0 commit comments

Comments
 (0)