Disable debugging mode of Universal Analytics

This commit is contained in:
Glavin Wiechert 2016-07-06 14:58:37 -03:00
parent dfb45c026a
commit 359e46e3bf
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ module.exports = class Beautifiers extends EventEmitter
atom.config.set "atom-beautify.general._analyticsUserId", uuid.v4() atom.config.set "atom-beautify.general._analyticsUserId", uuid.v4()
# Setup Analytics User Id # Setup Analytics User Id
userId = atom.config.get("atom-beautify.general._analyticsUserId") userId = atom.config.get("atom-beautify.general._analyticsUserId")
@analytics ?= new ua(trackingId, userId).debug() @analytics ?= new ua(trackingId, userId)
@analytics[type](payload).send() @analytics[type](payload).send()
catch error catch error
logger.error(error) logger.error(error)