-
I have searched and just can't seem to find it. What do I put in for the custom cookie? I am not using Google analytics, using Matomo, and don't really understand what to put in mkdocs.yml
Do I put the name of the cookie that my analytics provider uses? Do I put the names from the table in this documentation? https://matomo.org/faq/general/faq_146/#:~:text=with%20privacy%20requirements.-,Default%20Cookies,-To%20track%20users If so...do I use one
Thanks in advance for the help! Right now, my cookies aren't being removed when the consent is rejected, and I am assuming this is why. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It's basically just an identifier, specifically analytics:
...
cookies:
banana: some_value And then: var consent = __md_get("__consent")
if (consent && consent.banana) {
consent.banana // will contain "some_value"
} else {
// No cookie for you
} |
Beta Was this translation helpful? Give feedback.
It's basically just an identifier, specifically
custom
that you can query in JavaScript to do whatever you want with it, as mentioned. For instance, you can call itbanana
:And then: