mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 04:26:22 +05:30
Update Layout - Update Google Universal Analytics
This commit is contained in:
parent
d976116dd4
commit
216abe6200
1 changed files with 1 additions and 3 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue