Merge pull request #2431 from mattermost/fix-seg

Fixing segment tracking
This commit is contained in:
Christopher Speller
2016-03-15 14:22:27 -04:00

View File

@@ -77,7 +77,7 @@ function preRenderSetup(callwhendone) {
);
// Set these here so they don't fail in client.jsx track
global.window.analytics = {};
global.window.analytics = [];
global.window.analytics.page = () => {
// Do Nothing
};