Demo page edits: description and author meta tags and addition of Google Analytics

This commit is contained in:
Lokesh Dhakar
2013-06-24 23:25:17 -07:00
parent 9baa251095
commit 16aa015588

View File

@@ -6,8 +6,8 @@
<title>Color Thief</title> <title>Color Thief</title>
<meta name="description" content=""> <meta name="description" content="Color Thief is a script for grabbing the color palette from an image. It uses Javacript and the canvas tag.">
<meta name="author" content=""> <meta name="author" content="Lokesh Dhakar">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<script src="js/libs/modernizr.custom.js"></script> <script src="js/libs/modernizr.custom.js"></script>
@@ -102,7 +102,17 @@
<script src="demo.js"></script> <script src="demo.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2196019-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body> </body>
</html> </html>