diff --git a/node_modules/c9/skip-analytics.js b/node_modules/c9/skip-analytics.js index 4a64d0d6..f391850a 100644 --- a/node_modules/c9/skip-analytics.js +++ b/node_modules/c9/skip-analytics.js @@ -13,6 +13,8 @@ define(function(require, exports, module) { function skipAnalytics(user, allowUnauthorized) { if (!user) return true; + if (!user.id && !user.uid) return true; // users without an id should never reach the Segment library + if (!allowUnauthorized && hasUnauthorizedId(user)) return true; if (hasInternalTestName(user)) return true;