Allow custom cookie expiry date for optUserOut()
& forgetUserOptOut()
functions
#19530
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
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:
would set the
mtm_consent_removed
to an expiry date in 90 days.Your Environment
The text was updated successfully, but these errors were encountered: