change piwik code

This commit is contained in:
wlx 2014-05-29 00:05:39 +00:00
parent c8dca94a41
commit 3110ae7d9c
1 changed files with 8 additions and 8 deletions

View File

@ -28,20 +28,20 @@
</div>
<?= $this->render('footer.phtml') ?>
</body>
<!-- Piwik -->
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.westgis.ac.cn/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "11"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 11]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="http://piwik.westgis.ac.cn/piwik.php?idsite=11" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<script>setPage();</script>
</html>