Stored cookie categories do not exist on first page load

Created on 26 October 2023, 8 months ago
Updated 11 November 2023, 8 months ago

Using eu_cookie_compliance opt-in with categories.

When loading a page for the first time, there are no cookie_agreed_categories. Therefore, the _paq.push(['requireConsent']); _paq.push(['disableCookies']); won't be added to the script. This results in Matomo always setting cookies, even when the visitor did not agree.

Also, the current implementation would set those _paq.push multiple times if a visitor already disagreed with multiple categories.

Raising the priority to Major since this makes the whole module useless.

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium matthiasm11

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

Comments & Activities

Production build 0.69.0 2024