Skip to content

Commit 146203f

Browse files
authored
docs: Add analytics to the documentation site (#669)
* docs: Add analytics to the documentation site DO_NOT_MERGE - add Google analytics - add Cookie consent interface * docs: Add analytics to the documentation site DO_NOT_MERGE - add Google analytics - add Cookie consent interface * docs: Add analytics to the documentation site DO_NOT_MERGE - add Google analytics - add Cookie consent interface
1 parent 7322cf0 commit 146203f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

mkdocs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repo_name: adk-python
1212
repo_url: https://github.com/google/adk-python
1313

1414
# Copyright
15-
copyright: Copyright Google 2025
15+
copyright: Copyright Google 2025&nbsp;&nbsp;|&nbsp;&nbsp;<a href="//policies.google.com/terms">Terms</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="//policies.google.com/privacy">Privacy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#__consent">Manage cookies</a>
1616

1717
# Custom CSS
1818
extra_css:
@@ -22,6 +22,16 @@ extra:
2222
second_repo_url: https://github.com/google/adk-java
2323
second_repo_name: adk-java
2424
second_repo_icon: fontawesome/brands/github
25+
analytics:
26+
provider: google
27+
property: G-DKHZS27PHP
28+
consent:
29+
title: Cookie consent
30+
description: >-
31+
We use cookies to recognize repeated visits and preferences,
32+
as well as to measure the effectiveness of our documentation and
33+
whether users find the information they need. With your consent,
34+
you're helping us to make our documentation better.
2535
2636
# Configuration
2737
theme:

0 commit comments

Comments
 (0)