Browse Source

Update Layout - Update Google Universal Analytics

pull/2/head
Mohamad Fahmi 12 years ago
parent
commit
216abe6200
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      themes/default/layout.html.php

+ 1
- 3
themes/default/layout.html.php View File

@ -16,9 +16,7 @@
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> <![endif]-->
<?php if (analytics() == true):?><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<?php echo config('google.analytics.js')?>');
ga('send', 'pageview');</script><?php endif;?>
<?php if (analytics() == true):?><?php echo analytics() ?><?php endif;?>
</head> </head>
<body class="<?php echo $bodyclass; ?>"> <body class="<?php echo $bodyclass; ?>">
<div itemscope="itemscope" itemtype="http://schema.org/Blog" class="hide"> <div itemscope="itemscope" itemtype="http://schema.org/Blog" class="hide">


Loading…
Cancel
Save