Custom consent form

Enable custom consent form

Consent Manager’s JS API lets you create a custom consent form instead of the default one.

To turn on custom consent form mode, follow these steps:

  • Log in to Piwik PRO
  • Go to Menu
  • Go to Administration > Sites & apps.
  • On the left, pick the site or app you want to set up.
  • Navigate to Privacy.
  • Turn on Ask visitors for consent.
  • Click View to customize the consent setting.
  • Turn on Use a custom consent form.
  • Click Save.
  • Done. You can build a form using the JavaScript API.

Example implementation

Visit Piwik PRO - Custom consent form example to see a live demo of setting up the custom consent form, including examples of tracking consent stats using the JavaScript API.


Did this page help you?