1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00

Added analytics code

This commit is contained in:
Dan Leech 2015-10-18 19:23:16 +01:00
parent d003f98c6f
commit 1ce9108e56
2 changed files with 16 additions and 0 deletions

View File

@ -267,5 +267,13 @@
<input type="submit" name="submit" value="Buy Dan a coffee?" class="donate-button">
</form>
</footer>
<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-46210978-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

View File

@ -8,5 +8,13 @@
<input type="submit" name="submit" value="Buy Dan a coffee?" class="donate-button">
</form>
</footer>
<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-46210978-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>