This project is google analytics sample with create-react-app.
- Create React App
- TypeScript
- ESlint
- Prettier
yarn
Add REACT_APP_GA_MEASUREMENT_ID
that is google analytics tracking id to .env.local.
example:
REACT_APP_GA_MEASUREMENT_ID=G-XXXXXXXXXX
Call yarn start
, and then access to http://localhost:3000