From c67ad84be8fa1cae776ec320c67a2f863a488adf Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 8 Jul 2016 10:26:40 +0100 Subject: [PATCH] Track positive and negative feedback as different events. --- .../public/coffee/ide/pdf/controllers/PdfController.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index 415d2f6aad..ee6039c61f 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -36,8 +36,8 @@ define [ event_tracking.sendCountly "logs-hints-learn-more" trackLogHintsFeedback = (isPositive, hintId) -> - event_tracking.send 'log-hints', (if isPositive then 'feedback-positive' else 'feedback-negative'), hintId - event_tracking.sendCountly "log-hints-feedback", { isPositive, hintId } + event_tracking.send "log-hints", (if isPositive then "feedback-positive" else "feedback-negative"), hintId + event_tracking.sendCountly (if isPositive then "log-hints-feedback-positive" else "log-hints-feedback-negative"), { hintId } $scope.trackLogHintsPositiveFeedback = (hintId) -> trackLogHintsFeedback true, hintId $scope.trackLogHintsNegativeFeedback = (hintId) -> trackLogHintsFeedback false, hintId