[MGNLDEMO-294] Check consent when setting the tourType cookie Created: 29/Jun/18  Updated: 17/Feb/23

Status: Open
Project: Magnolia Demo Projects
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Neutral
Reporter: Antti Hietala Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLPRIV-32 Cookie manager available via rest end... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Data privacy 1
Team: AdminX

 Description   

On the travel demo home page we ask the visitor "Which tour type are you?" We then store their response in the tourType cookie as "active", "cultural" or "offPath".

We set the tourType cookie in a template script which completely bypasses our data privacy mechanism. A visitor's personal preference may be considered personal data. We should check cookie consent.

Acceptance criteria:

  • Configure the tourType cookie in the Cookies app.
  • Set the cookie only if the visitor has given consent to cookies (allow or dismiss).
  • Optional: Consider providing templating functions (like "privacyfn") to make it easier for developers to check for consent when working in a template script.

Resources:

https://git.magnolia-cms.com/projects/VNPD/repos/demo-projects/browse/enterprise/magnolia-travel-demo-component-personalization/src/main/resources/travel-demo-component-personalization/templates/components/personalizedTourTypeTeaserRow.ftl


Generated at Mon Feb 12 05:18:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.