summaryrefslogtreecommitdiff
path: root/views/layout.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2019-10-19 21:24:25 +0100
committerAaron Parecki <aaron@parecki.com>2019-10-19 21:24:25 +0100
commitecb47c9c2f6396a7627d92b8e2023f478be05a36 (patch)
treebc752db88f2a61d242b00e592ef08b447ae3b096 /views/layout.php
parente8b68115a4d5ba488832dbf45f149935635510fe (diff)
don't load GA unless gaid is set
Diffstat (limited to 'views/layout.php')
-rw-r--r--views/layout.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/layout.php b/views/layout.php
index 3685f70..682f6b7 100644
--- a/views/layout.php
+++ b/views/layout.php
@@ -49,6 +49,7 @@
</head>
<body role="document">
+<?php if(Config::$gaid): ?>
<script type="text/javascript">
var _gaq = _gaq || [];
@@ -62,6 +63,7 @@
})();
</script>
+<?php endif ?>
<div class="page">