Adds new analytics code
Merge pull request #64 from lucasrenan/analytics

Thank you very much for this PR @lucasrenan!
Merge branch 'master' into can_haz_email