@marcopixel opened this Issue on July 14th 2022

It would be beneficial to overwrite the default cookie expiry date for the optUserOut() and 'forgetUserOptOut()', especially since you can also set custom values on most other functions which set cookies for tracking.

Summary

Adding an additional parameter to the optUserOut() & forgetUserOptOut() functions.

Example:

_paq.push(['optUserOut', 2160]);

would set the mtm_consent_removed to an expiry date in 90 days.

Your Environment

  • Matomo Version: 4.10.1
  • PHP Version: 7.3.28
This Issue was closed on July 21st 2022
Powered by GitHub Issue Mirror