added google analytics

- added google analytics
- add socket.io configuration