In Opt-in mode, requireConsent/disableCookies flags are never set

Created on 31 July 2023, over 1 year ago
Updated 8 August 2023, over 1 year ago

Problem/Motivation

When EU Coookie Compliance is configured in Opt-In mode (ie without categories), the matomo flags 'requireConsent' and 'disableCookies' are not set, even if the user didn't give consent.

They are set only in 'Opt-In with categories' mode.

Proposed resolution

Adjust the generated javascript to test for consent mode before checking for categories.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France fougere

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

Comments & Activities

Production build 0.71.5 2024