mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Disable internal event tracking
Tracking down a server CPU issue.
This commit is contained in:
parent
d68746a922
commit
1167655faf
1 changed files with 3 additions and 2 deletions
|
@ -71,8 +71,9 @@ module.exports = class Tracker
|
|||
analytics?.track action, properties, context
|
||||
|
||||
# Log internally too. Will turn off external event logging when internal logging is sufficient.
|
||||
event = new AnalyticsLogEvent event: action, properties: properties
|
||||
event.save()
|
||||
# TODO: enable this after we figure out what's eating the server CPU
|
||||
# event = new AnalyticsLogEvent event: action, properties: properties
|
||||
# event.save()
|
||||
|
||||
trackTiming: (duration, category, variable, label, samplePercentage=5) ->
|
||||
# https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingTiming
|
||||
|
|
Loading…
Reference in a new issue