Allow configuring the default cookie category when blocking iframes

Created on 19 February 2024, 4 months ago
Updated 18 April 2024, 2 months ago

Problem/Motivation

Currently we are blocking the iframes based on functional cookies. It would be good if this category should be changed on site basis to for example block marketing cookies by default.

Steps to reproduce

NA.

Proposed resolution

We can create a select field in the admin panel to define the cookie category and save it in the module configurations.

Remaining tasks

1. Create the admin panel field and store the setting in the configurations.
2. Change the iframes JS to utilize this setting and fallback to functional category.
3. Add an installation hook to to add functional as the default setting for existing sites to make sure that the setting doesn't accidentally change to something else.

User interface changes

The module settings form needs the new field for selecting the value.

API changes

NA.

Data model changes

New configuration to store the default cookie category for blocking iframes.

✨ Feature request
Status

Fixed

Version

2.1

Component

Code

Created by

🇫🇮Finland HeikkiY Oulu

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024