About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:cookie_consent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
configuration:cookie_consent [2022/09/22 12:06] emaijalaconfiguration:cookie_consent [2022/09/30 09:26] (current) – [JavaScript Events] emaijala
Line 11: Line 11:
 Cookie categories and further configuration is in CookieConsent.yaml. See the comments in the file and the sample configurations below for further information. Cookie categories and further configuration is in CookieConsent.yaml. See the comments in the file and the sample configurations below for further information.
  
-Note that if enabled categories or cookies in the categories are changed, the consentRevision setting in config.ini should be incremented. This makes VuFind re-request consent. There is also ''popup_revision_message_html'' translation string that allows you to add a message for those that have previously consented but are now prompted again because of the new revision.+Note that if enabled categories or cookies in the categories are changed, the **consentRevision setting in config.ini must be incremented**. This makes VuFind re-request consent and ensures that invalid categories do not remain in the consent cookie. There is also ''popup_revision_message_html'' translation string that allows you to add a message for those that have previously consented but are now prompted again because of the new revision.
  
 Default translation texts include a link to the [[configuration:user_privacy#privacy_policy|Privacy Policy]] page that also displays the current cookie consent. Please ensure that the page contains correct information. Default translation texts include a link to the [[configuration:user_privacy#privacy_policy|Privacy Policy]] page that also displays the current cookie consent. Please ensure that the page contains correct information.
Line 46: Line 46:
  
 ^ Event                       ^ Description                                    ^ ^ Event                       ^ Description                                    ^
-| cookie-consent-done         | User has clicked on any of the consent buttons +vf-cookie-consent-first-done   | User has given first consent                   | 
-| cookie-consent-change       | User has changed their consent                 | +| vf-cookie-consent-done         | User has given consent or the page has been loaded with a stored consent | 
-| cookie-consent-initialized  | Cookie consent service has been initialized    |+vf-cookie-consent-changed      | User has changed their consent                 | 
 +vf-cookie-consent-initialized  | Cookie consent service has been initialized    |
  
 ===== Sample Configurations ===== ===== Sample Configurations =====
Line 76: Line 77:
     </p>     </p>
     <p>     <p>
-      You can also view the video on <a href="https://youtu.be/5q70TokaSrw" target="_blank">YouTube</a> (external link).+      You can also view the video on <a href="https://www.youtube.com/watch?v=5q70TokaSrw" target="_blank">YouTube</a> (external link).
     </p>     </p>
   </div>   </div>
configuration/cookie_consent.1663848399.txt.gz · Last modified: 2022/09/22 12:06 by emaijala