Cookie setting fail with privacy policy

Created on 22 July 2021, about 3 years ago
Updated 29 June 2023, about 1 year ago

Problem/Motivation

On adding the privacy policy node id and date, the front end Cookie Control setting panel adds the content to the introduction. At this point, the cookie settings no longer work. With necessary [containing the SESS* cookie] and analytics category [containing the GA cookies listed in the form description] the Analytics shows as off on each page load. If "Pop up by default" is set to open, the front end Cookie Control setting panel also shows on each page load and requires interaction before the page can be viewed.

Steps to reproduce

  • Install, use V9 API key.
  • add Analytics Category, add the suggested GA cookies and JS accept / revoke callback functions and consent required
  • save and test cookie selection works as expected
  • Add privacy policy date and node id
  • save and the accept / reject opens are requested on each page load. Selected options are not saved.

Workaround

Add privacy policy text to the introduction and removed the privacy policy date.

📌 Task
Status

Active

Version

4.5

Component

Code

Created by

🇬🇧United Kingdom ice70

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇷Greece tper Athens

    Should the privacy policy change after a user gives consent, Cookie Control will invalidate prior records of consent and seek the user's preferences using the latest information available. Thus if a date in the future is configured in the statement updated date field, the widget will determine on every page load that the privacy statement is updated and launch the widget.

    A possible fix for this in the drupal side will be to add a validator preventing saving if a statement updated date in the future is used.

    Changing this to task to plan it accordingly.

Production build 0.71.5 2024