diff --git a/src/ui/analytics.js b/src/ui/analytics.js index 45a82dc7e..b8bf48261 100644 --- a/src/ui/analytics.js +++ b/src/ui/analytics.js @@ -98,7 +98,9 @@ ReactGA.initialize(UA_ID, { // Manually call the first page view // React Router doesn't include this on `history.listen` +// @if TARGET='web' analytics.pageView(window.location.pathname + window.location.search); +// @endif // @if TARGET='app' ReactGA.set({ checkProtocolTask: null });