fixed typos and added fallback
Merge branch 'master' of https://github.com/isuttell/laravel-analytics