feat(analytics): Implement sendFeedback method

This commit is contained in:
hristoterezov 2016-09-30 17:28:32 -05:00
parent 4ffe013165
commit 71790b07b7
1 changed files with 5 additions and 1 deletions

View File

@ -19,5 +19,9 @@
action + '.' + browserName, label ? label : "", value ? value : null);
};
Analytics.prototype.sendFeedback = function (data, label, browserName) {
this.sendEvent('feedback.rating', data.overall, label, browserName);
};
ctx.Analytics = Analytics;
}(window));
}(window));