Fix bug with analytics.
Merge pull request #182 from seuros/analitycs

Fix bug with analytics.