Skip to content

Commit

Permalink
Disable google analytics on cookie decline
Browse files Browse the repository at this point in the history
  • Loading branch information
amakarudze committed Feb 5, 2024
1 parent 754572e commit 461121f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/global/cookie_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ <h5 class="modal-title">We value your privacy</h5>

$('#rejectCookies').on('click', function(){
setCookie('cookiesAccepted', 'false', 365);
window['ga-disable-G-JGJW1VEY0D'] = true;
});
});
</script>

0 comments on commit 461121f

Please sign in to comment.