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
|
analytics?.track action, properties, context
|
||||||
|
|
||||||
# Log internally too. Will turn off external event logging when internal logging is sufficient.
|
# Log internally too. Will turn off external event logging when internal logging is sufficient.
|
||||||
event = new AnalyticsLogEvent event: action, properties: properties
|
# TODO: enable this after we figure out what's eating the server CPU
|
||||||
event.save()
|
# event = new AnalyticsLogEvent event: action, properties: properties
|
||||||
|
# event.save()
|
||||||
|
|
||||||
trackTiming: (duration, category, variable, label, samplePercentage=5) ->
|
trackTiming: (duration, category, variable, label, samplePercentage=5) ->
|
||||||
# https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingTiming
|
# https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingTiming
|
||||||
|
|
Reference in a new issue