Add ga dimension

This commit is contained in:
Tom Moor committed 2018-11-19 21:05:43 -08:00
1 parent 85da275b06
commit 8aaab2fc76
1 file changed
+5
+5
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 });
}