Update Layout - Update Google Universal Analytics

This commit is contained in:
Mohamad Fahmi 2014-01-02 15:44:22 +07:00
commit 216abe6200

View file

@ -16,9 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![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>
<body class="<?php echo $bodyclass; ?>">
<div itemscope="itemscope" itemtype="http://schema.org/Blog" class="hide">