mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
tracking: Fix now out of date comment
This commit is contained in:
@@ -2,7 +2,7 @@ import debug from 'debug';
|
||||
|
||||
const log = debug('service:tracking');
|
||||
|
||||
// Track mixpanel events only if Scope is running inside of Weave Cloud.
|
||||
// Track segment events only if Scope is running inside of Weave Cloud.
|
||||
export function trackAnalyticsEvent(name, props) {
|
||||
if (window.analytics && process.env.WEAVE_CLOUD) {
|
||||
window.analytics.track(name, props);
|
||||
|
||||
Reference in New Issue
Block a user