Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 214 Bytes

File metadata and controls

15 lines (11 loc) · 214 Bytes

React Google Analytics 4

Migrate from old react-ga

// Simply replace `react-ga` with `react-ga4`
import ReactGA from 'react-ga';
import ReactGA from 'react-ga4';

Install

npm i react-ga4