diff --git a/core/core.php b/core/core.php
index 161c28d1..70b6b005 100644
--- a/core/core.php
+++ b/core/core.php
@@ -1172,8 +1172,8 @@ class common {
* Affiche le script Google Analytics
*/
public function showAnalytics() {
- if($code = $this->getData(['config', 'seo', 'analyticsId'])
- AND $this->getInput('ZWII_COOKIE_CONSENT') === 'true') {
+ if( !empty($code = $this->getData(['config', 'seo', 'analyticsId'])) &&
+ $this->getInput('ZWII_COOKIE_CONSENT') === 'true') {
echo '