diff options
author | Aaron Parecki <aaron@parecki.com> | 2019-10-19 21:24:25 +0100 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2019-10-19 21:24:25 +0100 |
commit | ecb47c9c2f6396a7627d92b8e2023f478be05a36 (patch) | |
tree | bc752db88f2a61d242b00e592ef08b447ae3b096 /views/layout.php | |
parent | e8b68115a4d5ba488832dbf45f149935635510fe (diff) |
don't load GA unless gaid is set
Diffstat (limited to 'views/layout.php')
-rw-r--r-- | views/layout.php | 2 |
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"> |