set expiredate for cookies to infinity
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
This commit is contained in:
@@ -39,7 +39,7 @@ export default {
|
|||||||
|
|
||||||
const handleConsent = () => {
|
const handleConsent = () => {
|
||||||
window._paq.push(['rememberCookieConsentGiven'])
|
window._paq.push(['rememberCookieConsentGiven'])
|
||||||
cookies.set('consent', 'given')
|
cookies.set('consent', 'given', Infinity)
|
||||||
|
|
||||||
if (tracking.value){
|
if (tracking.value){
|
||||||
window._paq.push(['rememberConsentGiven'])
|
window._paq.push(['rememberConsentGiven'])
|
||||||
|
Reference in New Issue
Block a user