log en moins
This commit is contained in:
parent
84b4023e19
commit
462b7b9ed6
@ -234,7 +234,6 @@ core.start = function() {
|
|||||||
|
|
||||||
// Crée le cookie d'acceptation Google Analytics si nécessaire
|
// Crée le cookie d'acceptation Google Analytics si nécessaire
|
||||||
var analytics = "<?php echo $this->getData(['config', 'seo', 'analyticsId']);?>";
|
var analytics = "<?php echo $this->getData(['config', 'seo', 'analyticsId']);?>";
|
||||||
console.log(analytics.length );
|
|
||||||
if( analytics.length > 0){
|
if( analytics.length > 0){
|
||||||
document.cookie = "ZWII_COOKIE_CONSENT_GA=" + $("#googleAnalytics").prop("checked") + ";" + domain + ";" + path + ";" + samesite + ";" + expires;
|
document.cookie = "ZWII_COOKIE_CONSENT_GA=" + $("#googleAnalytics").prop("checked") + ";" + domain + ";" + path + ";" + samesite + ";" + expires;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user