Skip to content

Commit e93a827

Browse files
Add Google Analytics to the docs site
Enable Material for MkDocs' native Google Analytics provider (property G-W2RSTXF729) so gtag.js is injected on every docs page. No consent banner is configured, so analytics load unconditionally.
1 parent 0d64bb2 commit e93a827

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ nav:
163163
extra:
164164
# Hide the "Made with Material for MkDocs" footer.
165165
generator: false
166+
# Google Analytics via Material's native provider (injects gtag.js at build).
167+
analytics:
168+
provider: google
169+
property: G-W2RSTXF729
166170
social:
167171
- icon: fontawesome/brands/github
168172
link: https://github.com/LunarCommand

0 commit comments

Comments
 (0)