Skip to content

[FEATURE] GDPR Compliant Cookie Consent #1486

@asyrewicze

Description

@asyrewicze

Describe the feature you want 描述你的功能需求

The cookie consent banner is a good starting point, but it appears to simply inform the user that the site uses cookies and then links them to a site about cookies.

GDPR requires that sites provide the user a choice of Opt-in and Opt-out if their personal data would be collected. For example, GDPR sees things like geography and IP as personal information, so addons like google analytics would be in violation of GDPR unless the site gives them the option of opting out.

Is it possible to update cookie consent in the theme to allow the reader to "allow" or "decline" 3rd party cookies? The expected behavior for clicking "decline" would be to prevent analytics tracking and logging of that session's data. "Allowing" or opting in, would allow tools like google analytics to operate as normal.

Useful reference 有价值的参考

example here
another example

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions