diff --git a/CHANGELOG.md b/CHANGELOG.md index a697ff1df0121c70f4a24e3c1a5b7458b136ebd3..cb2eba43eb86f824f1e5ebe24abfe20ed1825f84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [2.1.4] - 2018-08-28 + +### Added + +- Basic matomo analytics for tracking page views + +### Removed + +- Google analytics + ## [2.1.3] - 2018-05-24 ### Fixed @@ -57,4 +67,5 @@ [2.1.0]: https://git.gmu.edu/srct/whats-open-web/compare/v2.0.1...v2.1-Midnight-Cherry [2.1.1]: https://git.gmu.edu/srct/whats-open-web/compare/v2.1-Midnight-Cherry...v2.1.1 [2.1.2]: https://git.gmu.edu/srct/whats-open-web/compare/v2.1.1...v2.1.2 -[2.1.3]: https://git.gmu.edu/srct/whats-open-web/compare/v2.1.2...v2.1.3 \ No newline at end of file +[2.1.3]: https://git.gmu.edu/srct/whats-open-web/compare/v2.1.2...v2.1.3 +[2.1.4]: https://git.gmu.edu/srct/whats-open-web/compare/v2.1.3...v2.1.4 \ No newline at end of file diff --git a/public/index.html b/public/index.html index 96644b5502df19105889c1e4c7bbc82502d932a1..6680bf999e78b744b7922754c0b26d440ede9cfd 100644 --- a/public/index.html +++ b/public/index.html @@ -32,13 +32,28 @@ - - + + +
diff --git a/src/index.js b/src/index.js index 93f1850ff03607dc3b966149a15b12cc8cd2b3b8..068b1468248c1934a9aee52fd02b24746c07c993 100644 --- a/src/index.js +++ b/src/index.js @@ -26,15 +26,6 @@ if (isProduction || !extension) { enhance = compose(applyMiddleware(ReduxThunk, routerMiddleware(history)), extension); } -if (isProduction) { - window.dataLayer = window.dataLayer || []; - const gtag = (args) => { - window.dataLayer.push(args); - }; - gtag('js', new Date()); - gtag('config', 'UA-112607180-1'); -} - const store = createStore(reducers, enhance); ReactDOM.render(