Add the following script, window.cookieInformationCustomConfig, inside the <head> tag of your website, placing it before the consent popup snippet.
<script type="text/javascript">
window.cookieInformationCustomConfig = {
acceptFrequency: 100,
declineFrequency: 20
};
</script>
Note: Here’s what each parameter means:
acceptFrequency – Sets the expiration time value (in days) for users consenting to all purposes.
declineFrequency – Sets the expiration time (in days) for users who decline one or more purposes.