diff --git a/src/components/app/App.js b/src/components/app/App.js index 63c867b..24a480f 100644 --- a/src/components/app/App.js +++ b/src/components/app/App.js @@ -13,21 +13,8 @@ import {loadDownloadData} from "../../actions"; import ReactGA from 'react-ga'; import {setScrollbarWidthProp} from "../../utils/util" -ReactGA.initialize( - [ - { - trackingId: 'UA-165845289-1', - gaOptions: { - name: 'trackerUA', - } - }, - { - trackingId: 'G-3NKS6ZG27V', - gaOptions: { name: 'trackerG' } - } - ], - { debug: true, alwaysSendToDefaultTracker: false } -); +ReactGA.initialize('UA-165845289-1'); +ReactGA.addTrackers('G-3NKS6ZG27V',{ alwaysSendToDefaultTracker: false }); function App({ dispatch }) { const updateDownloadData = useCallback((downloadData) => dispatch(loadDownloadData(downloadData)), []);