add google analytics code

This commit is contained in:
wlx 2013-11-23 08:59:10 +00:00
parent 9d69193151
commit a44f2b1de3
1 changed files with 9 additions and 5 deletions

View File

@ -11,9 +11,13 @@
$('#<?= $this->pageIn?>').prev('.accordion-heading').addClass('active'); $('#<?= $this->pageIn?>').prev('.accordion-heading').addClass('active');
</script> </script>
<?php } ?> <?php } ?>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> <script>
</script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
<script type="text/javascript"> (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
_uacct = "UA-302912-6"; m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
urchinTracker(); })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-302912-9', 'westgis.ac.cn');
ga('send', 'pageview');
</script> </script>