Commit dfd442cd authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

try cd1 for custom dimension (#2734)

parent 9561cf54
...@@ -24,7 +24,8 @@ export default function GoogleAnalyticsReporter({ location: { pathname, search } ...@@ -24,7 +24,8 @@ export default function GoogleAnalyticsReporter({ location: { pathname, search }
const { chainId } = useActiveWeb3React() const { chainId } = useActiveWeb3React()
useEffect(() => { useEffect(() => {
ReactGA.set({ dimension1: chainId ?? 0 }) // cd1 - custom dimension 1 - chainId
ReactGA.set({ cd1: chainId ?? 0 })
}, [chainId]) }, [chainId])
useEffect(() => { useEffect(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment