I am creating a new web project in Google Analytics.
- Why am i getting a Measurement iD instead of Tracking ID?
- How can i connect Measurement ID with React JS?
- Can i give localhost URL in website URL?
I have added below code in my App.js but it is not getting integrated with Google Analytics
useEffect(() => {
ReactGA.initialize('G-*******SYL');
ReactGA.pageview('/');
}, [])