diff options
author | Tom Schmidt <imtomhschmidt@gmail.com> | 2018-02-07 08:01:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-07 08:01:36 +0800 |
commit | 00c07b38a42c82d7c37835234d7f81236b0342ce (patch) | |
tree | db33d241f8cef2a8974b415b7c4ba7351775f6ba /packages/website/ts/index.tsx | |
parent | 548246c05f128d23d701d9b738ce53deaf783f63 (diff) | |
parent | 00bfc7f889fcf1527c77c7f88816f463843c4282 (diff) | |
download | dexon-sol-tools-00c07b38a42c82d7c37835234d7f81236b0342ce.tar dexon-sol-tools-00c07b38a42c82d7c37835234d7f81236b0342ce.tar.gz dexon-sol-tools-00c07b38a42c82d7c37835234d7f81236b0342ce.tar.bz2 dexon-sol-tools-00c07b38a42c82d7c37835234d7f81236b0342ce.tar.lz dexon-sol-tools-00c07b38a42c82d7c37835234d7f81236b0342ce.tar.xz dexon-sol-tools-00c07b38a42c82d7c37835234d7f81236b0342ce.tar.zst dexon-sol-tools-00c07b38a42c82d7c37835234d7f81236b0342ce.zip |
Merge pull request #370 from 0xProject/feature/ga-portal-logging
Add GA Logging to Portal
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r-- | packages/website/ts/index.tsx | 2 |
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> |