Disable debugging mode of Universal Analytics
This commit is contained in:
parent
dfb45c026a
commit
359e46e3bf
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue