GA 更新
This commit is contained in:
parent
17ce0571e3
commit
37fbf6e437
|
@ -14,7 +14,22 @@ import ReactGA from 'react-ga';
|
|||
import {setScrollbarWidthProp} from "../../utils/util"
|
||||
|
||||
ReactGA.initialize('UA-165845289-1');
|
||||
ReactGA.addTrackers('G-3NKS6ZG27V',{ alwaysSendToDefaultTracker: false });
|
||||
|
||||
ReactGA.addTrackers(
|
||||
[
|
||||
{
|
||||
trackingId: 'UA-165845289-1',
|
||||
gaOptions: {
|
||||
name: 'trackerUA',
|
||||
}
|
||||
},
|
||||
{
|
||||
trackingId: 'G-3NKS6ZG27V',
|
||||
gaOptions: { name: 'trackerG' }
|
||||
}
|
||||
],
|
||||
{ alwaysSendToDefaultTracker: false }
|
||||
);
|
||||
|
||||
function App({ dispatch }) {
|
||||
const updateDownloadData = useCallback((downloadData) => dispatch(loadDownloadData(downloadData)), []);
|
||||
|
|
Loading…
Reference in New Issue