[wp-trac] [WordPress Trac] #44043: Framework for logging/retrieving a users consent state
WordPress Trac
noreply at wordpress.org
Fri May 11 17:34:56 UTC 2018
#44043: Framework for logging/retrieving a users consent state
------------------------------------------+------------------------------
Reporter: cookiebot | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch gdpr 2nd-opinion | Focuses:
------------------------------------------+------------------------------
Comment (by cookiebot):
Thanks @xkon
Had a read at #43797 and you've got a good discussion about what to log
and how to log it.
To start this ticket out, id like to explain how Cookiebot works.
Cookiebot stores a cookie which contains the users consent state (and what
may be referred to as the consent id, which can be used as a proof).
Storing a cookie to tell whether or not a user wants cookies may sound
paradoxical, however to make something that could become a long discussion
short, it is fully allowed and considered a necessary cookie.
What would be great is if we could signal the consent state to WP Core, so
that other plugins can use the information to render their cookie setting
tags accordingly (script, img, iframe, etc), accordingly. The signal
could, for instance, last for the whole session, so that it would not be
necessary to store the consent state in the WP database.
However, if the website owner wants to save the consent state in WP, that
would also be possible. There is one challenge though.
In #43797 you mention a consent id, but I am not sure how it is generated.
As mentioned earlier, we generate our own id. Would it be possible to send
this ID directly to WP core, and maybe somehow have it mapped with the wp-
generated consent ID that is used for the rest ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44043#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list