aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorThomas Schmidt <tomhschmidt@thomass-mbp-2.lan>2018-02-06 07:57:29 +0800
committerThomas Schmidt <tomhschmidt@thomass-mbp-2.lan>2018-02-06 07:57:29 +0800
commit598ce0d40129b7426d47404a3e6ff886c2e186b9 (patch)
treeffe949a0707f8516c31817be53cf3e47119648b0 /packages/website/ts/index.tsx
parent4ddb86df53802fe5c965724d965d281528a97971 (diff)
downloaddexon-sol-tools-598ce0d40129b7426d47404a3e6ff886c2e186b9.tar
dexon-sol-tools-598ce0d40129b7426d47404a3e6ff886c2e186b9.tar.gz
dexon-sol-tools-598ce0d40129b7426d47404a3e6ff886c2e186b9.tar.bz2
dexon-sol-tools-598ce0d40129b7426d47404a3e6ff886c2e186b9.tar.lz
dexon-sol-tools-598ce0d40129b7426d47404a3e6ff886c2e186b9.tar.xz
dexon-sol-tools-598ce0d40129b7426d47404a3e6ff886c2e186b9.tar.zst
dexon-sol-tools-598ce0d40129b7426d47404a3e6ff886c2e186b9.zip
Switch GA to React GA and add logging for Portal
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index ffb551561..bc4e0b472 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -2,6 +2,7 @@
import { MuiThemeProvider } from 'material-ui/styles';
import * as React from 'react';
import { render } from 'react-dom';
+import * as ReactGA from 'react-ga';
import { Provider } from 'react-redux';
import { BrowserRouter as Router, Redirect, Route, Switch } from 'react-router-dom';
import * as injectTapEventPlugin from 'react-tap-event-plugin';
@@ -44,6 +45,7 @@ const LazyConnectDocumentation = createLazyComponent('Documentation', async () =
System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/connect_documentation'),
);
+ReactGA.initialize('UA-98720122-1');
const store: ReduxStore<State> = createStore(reducer);
render(
<Router>