Permalink
Browse files

Exclude Google Analytics if no account number

  • Loading branch information...
awmartin committed Oct 14, 2017
1 parent 2a4fa1f commit b9f5711c5e8b1478310494e81682a69b5f28ec60
Showing with 2 additions and 0 deletions.
  1. +2 −0 null.site.php
View
@@ -69,6 +69,8 @@ function NullSiteDescription() {
}
function NullGoogleAnalytics($account) {
if ($account == '') { return ''; }
$ga = '';
$ga = $ga.'<script type="text/javascript">';
$ga = $ga.'var _gaq = _gaq || [];';

0 comments on commit b9f5711

Please sign in to comment.