diff --git a/src/beautifiers/index.coffee b/src/beautifiers/index.coffee index 784ffec..0d29b66 100644 --- a/src/beautifiers/index.coffee +++ b/src/beautifiers/index.coffee @@ -218,7 +218,11 @@ module.exports = class Beautifiers extends EventEmitter atom.config.set "atom-beautify.general._analyticsUserId", uuid.v4() # Setup Analytics User Id userId = atom.config.get("atom-beautify.general._analyticsUserId") - @analytics ?= new ua(trackingId, userId) + @analytics ?= new ua(trackingId, userId, { + headers: { + "User-Agent": navigator.userAgent + } + }) @analytics[type](payload).send() catch error logger.error(error)