Update Analytics tracking code

fix #2