From db1739e748ccbc4579af328c757ee04419c3caaf Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 24 Oct 2021 16:50:11 +0200 Subject: [PATCH] Enabled feedback for testing --- docs/setup/setting-up-site-analytics.md | 4 ++-- mkdocs.yml | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/setup/setting-up-site-analytics.md b/docs/setup/setting-up-site-analytics.md index 0d1812b65..f2051fbaf 100644 --- a/docs/setup/setting-up-site-analytics.md +++ b/docs/setup/setting-up-site-analytics.md @@ -68,8 +68,8 @@ complicated manual setup. If you want to set up site search tracking yourself, :octicons-milestone-24: Default: _none_ Material for MkDocs ships a native and extensible cookie consent form which -asks the user for his consent prior to sending any analytics. Add the following -to `mkdocs.yml`: +asks the user for his consent prior to sending any data via analytics. Add the +following to `mkdocs.yml`: ``` yaml extra: diff --git a/mkdocs.yml b/mkdocs.yml index 470d2a80a..cca657dfa 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -102,6 +102,13 @@ extra: analytics: provider: google property: !ENV GOOGLE_ANALYTICS_KEY + feedback: + - icon: material/emoticon-happy-outline + name: This page was helpful + data: good + - icon: material/emoticon-sad-outline + name: This page could be improved + data: bad social: - icon: fontawesome/brands/github link: https://github.com/squidfunk