]> git.example.dev Git - binbsis50.git/commitdiff
added meta tags and Google Analytics
authorLuigi Pinca <luigipinca@gmail.com>
Sat, 10 Mar 2012 10:49:54 +0000 (11:49 +0100)
committerLuigi Pinca <luigipinca@gmail.com>
Sat, 10 Mar 2012 10:49:54 +0000 (11:49 +0100)
index.html
package.json
public/static/js/client.js

index 0386f2ff55c1c809adda03d8c101557f17aaf177..2ce54dcafd54628893a933e30de657626304040a 100644 (file)
@@ -4,11 +4,27 @@
            <title>Binb</title>
                <link href="/static/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
                <link href="/static/css/style.css" rel="stylesheet" type="text/css"/>
+               <meta charset="UTF-8" />
+               <meta name="keywords" content="iTunes, music, quiz, binb, beatquest, realtime, multiplayer, listening, game" />
+               <meta name="description" content="Simple, realtime, multiplayer, competitive music listening game. Guess the song and prove your music knowledge!" />
+               <meta name="author" content="Luigi Pinca" />
                <script src="/static/js/jquery.min.js" type="text/javascript"></script>
                <script src="/static/js/bootstrap.min.js" type="text/javascript"></script>
                <script src="/static/js/jquery.jplayer.min.js" type="text/javascript"></script> 
                <script src="/socket.io/socket.io.js" type="text/javascript"></script>
                <script src="/static/js/client.js" type="text/javascript"></script>
+               <script type="text/javascript">
+                       var _gaq = _gaq || [];
+                       _gaq.push(['_setAccount', 'UA-29865853-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>
        </head>
        <body>
                <script type="text/javascript">
index 4e5438003047d1774020db006fb4fcbb4ccff609..e86486338fe775b57b7c9642955b0d4f74f26d55 100644 (file)
@@ -12,5 +12,5 @@
   "engines": {
     "node": "0.6.x"
   },
-  "version": "0.1.1-13"
+  "version": "0.1.1-14"
 }
\ No newline at end of file
index a1eb94822c6bbde4bac81bca1fe163274b89825a..43b5e891f30e82b5c92b2d47f984bb8930cfcf9d 100644 (file)
@@ -8,7 +8,7 @@
        var pvtmsgto = null;
        var roundpoints = 0;
        var stopanimation = false;
-       var states = ['A song is alredy playing, please wait for the next one...',
+       var states = ['A song is already playing, please wait for the next one...',
                        'Game is about to start...', 'Game is over', 'New game will start soon...'];
        var tmstrings = ['Yes, you guessed the title. Who is the artist?', 'Now tell me the artist!',
                                        'Correct, do you also know the artist?'];