1
0
Fork 0
mirror of synced 2024-06-12 07:54:32 +12:00

Add GoogleAnalytics

This commit is contained in:
nagadomi 2017-05-24 12:37:38 +09:00
parent 49a953e5a2
commit 98f55103fe
2 changed files with 32 additions and 0 deletions

View file

@ -187,6 +187,22 @@
</ul>
</div>
</form>
<div class="bottom-hint">
<div style="color:blue">7/9 We have new waifu2x!</div>
<div style="margin-top:1em">
<div>This website is hosted by the server of pixiv Inc.</div>
<div>This website uses Google Analytics to help us improve the website content. </div>
</div>
<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', 'UA-313180-14', 'auto');
ga('send', 'pageview');
</script>
</div>
</div>
<div class="bottom-info address">
<a href="https://github.com/nagadomi/waifu2x" class="gray-link" target="_blank">waifu2x</a>

View file

@ -187,6 +187,22 @@
</ul>
</div>
</form>
<div class="bottom-hint">
<div style="color:blue">7/9 We have new waifu2x!</div>
<div style="margin-top:1em">
<div>This website is hosted by the server of pixiv Inc.</div>
<div>This website uses Google Analytics to help us improve the website content. </div>
</div>
<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', 'UA-313180-14', 'auto');
ga('send', 'pageview');
</script>
</div>
</div>
<div class="bottom-info address">
<a href="https://github.com/nagadomi/waifu2x" class="gray-link" target="_blank">waifu2x</a>