add google analytics and fixed trigger hash event initially. fixed #4

Support google analytics to fixed #4 

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>