Skip to content

Allow configuration of callback methods for onInit, onAccept and onDecline for services

Latest
Compare
Choose a tag to compare
@mberhorst mberhorst released this 11 Dec 10:51
f3ba00b

BREAKING: Release aka version 5.0.0 only works with Neos 9

It is now possible to configure javascript code to be executed on init, accept or decline of a service.
See Examples/Settings.CookiePunch.FullServiceConfig.yaml for an example.

  • onInit is called once per page load
  • onAccept is called when the user consents to the service and also once per page load
  • onDecline is called when the user does not consent to the service and also once per page load