made all analytics references window.analytics
Merge branch 'master' of github.com:segmentio/snippet