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