Support » Plugin: Google Analytics Germanized (GDPR / DSGVO) » Cookie new for each day?

  • Resolved tragendbegleitet


    Is – or will there be – a solution that cookies are (optionally) only 1 day saved instead of permanently (or at least very long), so the user has to decide each day again if the wants to accept cookies or not?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author PascalBajorat


    With version 1.3.0 there is a filter for that. You can place this in the functions.php of your theme:

    add_filter('gag-cookieconsent-settings-end', function($settings){
        return '"cookie": { "expiryDays": 1 },';

    Version 1.3.0 will be available in a few minutes 😉

    thank you! In which filter I have to put it??? in my normal design editor or within the plugin?

    Plugin Author Sascha Rudolph


    @tragendbegleitet in the functions.php of you child-theme or basic theme. I don’t really get the question?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cookie new for each day?’ is closed to new replies.