Skip to content

Commit 4f05aab

Browse files
committed
Add cookies
1 parent 0f69b91 commit 4f05aab

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

mkdocs.yml

+24-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ theme:
1717
- content.code.annotate
1818
- navigation.tracking
1919
- navigation.tabs.sticky
20-
- navigation.tabs
20+
- navigation.tabs
2121

2222
icon:
2323
repo: fontawesome/brands/github
@@ -69,9 +69,30 @@ extra:
6969
link: https://www.github.com/sparkfun
7070
- icon: fontawesome/brands/facebook
7171
link: https://www.facebook.com/SparkFun
72-
- icon: fontawesome/brands/twitter
72+
- icon: fontawesome/brands/x-twitter
7373
link: https://twitter.com/sparkfun
74-
74+
- icon: fontawesome/solid/cookie-bite
75+
link: /#__consent
76+
name: Change cookie settings
77+
78+
# Configures Google Analytics
79+
analytics:
80+
provider: google
81+
property: G-7Y7EYCZVC1
82+
83+
consent:
84+
cookies:
85+
analytics:
86+
name: Google Analytics
87+
checked: true
88+
title: Cookie consent
89+
description:
90+
We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.
91+
actions:
92+
- accept
93+
- manage
94+
- reject
95+
7596
nav:
7697
- Home: index.md
7798
- Getting Started:
@@ -80,5 +101,3 @@ nav:
80101
- Device: api_device.md
81102
- Setup: api_setup.md
82103
- Operation: api_operation.md
83-
84-

0 commit comments

Comments
 (0)