Add ga dimension

This commit is contained in:
Tom Moor
2018-11-19 21:05:43 -08:00
parent 85da275b06
commit 8aaab2fc76

View File

@@ -62,6 +62,11 @@ const Auth = observer(({ auth, children }: Props) => {
};
}
// Session custom dimension separates logged in from logged out users
if (window.ga) {
window.ga('set', { dimension1: true });
}
authenticatedStores.collections.fetchPage({ limit: 100 });
}