This commit is contained in:
Jonas Kamsker 2020-08-06 10:54:49 +02:00
parent 5f2ba0d93a
commit d16fb382cd
3 changed files with 10 additions and 0 deletions

5
package-lock.json generated
View file

@ -11006,6 +11006,11 @@
"resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.7.tgz",
"integrity": "sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA=="
},
"react-ga": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/react-ga/-/react-ga-3.1.2.tgz",
"integrity": "sha512-OJrMqaHEHbodm+XsnjA6ISBEHTwvpFrxco65mctzl/v3CASMSLSyUkFqz9yYrPDKGBUfNQzKCjuMJwctjlWBbw=="
},
"react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",

View file

@ -12,6 +12,7 @@
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-dropzone": "^11.0.2",
"react-ga": "^3.1.2",
"react-scripts": "3.4.1"
},
"scripts": {

View file

@ -5,6 +5,10 @@ import App from './App';
import * as serviceWorker from './serviceWorker';
import ChecksumResolver from './ChecksumResolver';
import ReactGA from 'react-ga';
ReactGA.initialize('UA-174657678-1');
ReactGA.pageview(window.location.pathname + window.location.search);
ReactDOM.render(
<ChecksumResolver />,
document.getElementById('root')