Skip to content

Commit db1739e

Browse files
committed
Enabled feedback for testing
1 parent adb4808 commit db1739e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

docs/setup/setting-up-site-analytics.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ complicated manual setup. If you want to set up site search tracking yourself,
6868
:octicons-milestone-24: Default: _none_
6969

7070
Material for MkDocs ships a native and extensible cookie consent form which
71-
asks the user for his consent prior to sending any analytics. Add the following
72-
to `mkdocs.yml`:
71+
asks the user for his consent prior to sending any data via analytics. Add the
72+
following to `mkdocs.yml`:
7373

7474
``` yaml
7575
extra:

mkdocs.yml

+7
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ extra:
102102
analytics:
103103
provider: google
104104
property: !ENV GOOGLE_ANALYTICS_KEY
105+
feedback:
106+
- icon: material/emoticon-happy-outline
107+
name: This page was helpful
108+
data: good
109+
- icon: material/emoticon-sad-outline
110+
name: This page could be improved
111+
data: bad
105112
social:
106113
- icon: fontawesome/brands/github
107114
link: https://github.com/squidfunk

0 commit comments

Comments
 (0)