Skip to content

Consent update

Issue description

  1. User consent should be taken into account before logging any data. Based on the user's consent, we can determine three different states:
  • consent given (value is true) => collect data
  • consent rejected (value is false) => don't collect data
  • consent neither accepted nor rejected (value is null) => redirect to the consent page
  1. Create site setting value for the consent form description (similar to the 'tour' example)

  2. Seed a value when running db:seed for the newly created site setting (a simple <p> tag)