Browse Source

don't load GA unless gaid is set

pull/111/head
Aaron Parecki 1 year ago
parent
commit
ecb47c9c2f
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      views/layout.php

+ 2
- 0
views/layout.php View File

@ -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">

Loading…
Cancel
Save