Fix error when config.analytics was undefined
Fix error when config.analytics was undefined

Changelog-entry: Fix error when config.analytics was undefined
Change-type: patch

resin-io/etcher,resin-io/etcher,resin-io/herostratus,resin-io/etcher,resin-io/etcher,resin-io/resin-etcher,resin-io/etcher,resin-io/herostratus,resin-io/resin-etcher