diff --git a/package-lock.json b/package-lock.json index d33d1b6..28f219a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11023,6 +11023,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", diff --git a/package.json b/package.json index 8a3dea4..2659c55 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "react-copy-to-clipboard": "^5.0.2", "react-dom": "^16.13.1", "react-dropzone": "^11.0.2", + "react-ga": "^3.1.2", "react-scripts": "3.4.1" }, "scripts": { diff --git a/src/ChecksumResolver.js b/src/ChecksumResolver.js index 4b13113..0e36610 100644 --- a/src/ChecksumResolver.js +++ b/src/ChecksumResolver.js @@ -173,7 +173,7 @@ class ChecksumResolver extends React.Component { required fullWidth id="checksum" - label="Checksum or Drag&Drop .aax file" + label="Checksum or Drag&Drop .aax file -" name="checksum" autoComplete="checksum" autoFocus diff --git a/src/index.js b/src/index.js index ade0b5c..a93e7d3 100644 --- a/src/index.js +++ b/src/index.js @@ -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( , document.getElementById('root')