From: Guillaume Pellerin Date: Mon, 7 Nov 2016 15:56:12 +0000 (+0100) Subject: Add DEBUG filter for analytics X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=28baf880b107e256edad104302b5d2dea4555690;p=mezzo.git Add DEBUG filter for analytics --- diff --git a/app/templates/includes/footer_scripts.html b/app/templates/includes/footer_scripts.html index 83ad8646..d8603f1f 100644 --- a/app/templates/includes/footer_scripts.html +++ b/app/templates/includes/footer_scripts.html @@ -18,7 +18,7 @@ {% editable_loader %} {% endcompress %} -{% if settings.GOOGLE_ANALYTICS_ID and not request.user.is_staff %} +{% if settings.GOOGLE_ANALYTICS_ID and not request.user.is_staff and not settings.DEBUG %}