diff --git a/layout/_partials/plugins/analytics.ejs b/layout/_partials/plugins/analytics.ejs index 9f2d7f95..67cf3cb2 100644 --- a/layout/_partials/plugins/analytics.ejs +++ b/layout/_partials/plugins/analytics.ejs @@ -15,7 +15,7 @@ <% } %> - <% if (theme.web_analytics.google){ %> + <% if (theme.web_analytics.google && theme.web_analytics.google.measurement_id){ %>