# Multiple consent decision-events

**URL:** <https://community.piwik.pro/t/multiple-consent-decision-events/1362>\
**Category:** Privacy\
**Created:** [December 14, 2022, 1:37pm UTC](https://community.piwik.pro/t/multiple-consent-decision-events/1362 "2022-12-14T13:37:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thpe](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thpe](https://community.piwik.pro/u/thpe)\
**Post date:** [December 14, 2022, 1:37pm UTC](https://community.piwik.pro/t/multiple-consent-decision-events/1362/1 "2022-12-14T13:37:29Z")

</div>

Hi

We are using a custom consent form and are currently seeing multiple consent decision-events in the tracker debugger (see image). Any suggestions for why this is?

In these cases - consent was only given once.

 ![consentdecision-a](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/f/f67667b5c7fc65d52c9ef36d7062f71835691be2.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![Admin](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Admin](https://community.piwik.pro/u/Admin)\
**Post date:** [December 14, 2022, 1:49pm UTC](https://community.piwik.pro/t/multiple-consent-decision-events/1362/2 "2022-12-14T13:49:20Z")

</div>

Hi! Can you share code used to implement custom consent?

---

<div class="post-metadata">

**Author:** ![thpe](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thpe](https://community.piwik.pro/u/thpe)\
**Post date:** [December 20, 2022, 12:34pm UTC](https://community.piwik.pro/t/multiple-consent-decision-events/1362/3 "2022-12-20T12:34:44Z")

</div>

I coordinated with the developers, and they will be using something along the lines of [https://developers.piwik.pro/en/latest/consent\_manager/js\_api/index.html#get-compliance-settings](https://developers.piwik.pro/en/latest/consent_manager/js_api/index.html#get-compliance-settings)

Thanks for pointing in the right direction.
