react-ga4-forked
Advanced tools
Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "react-ga4-forked", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "React Google Analytics 4 - forked", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
# React Google Analytics 4 | ||
# React Google Analytics 4 - forked | ||
@@ -6,4 +6,4 @@ ## Migrate from old react-ga | ||
```js | ||
// Simply replace `react-ga` with `react-ga4` | ||
// import ReactGA from "react-ga-forked"; | ||
// Simply replace `react-ga` with `react-ga4-forked` | ||
// import ReactGA from "react-ga"; | ||
import ReactGA from "react-ga4-forked"; | ||
@@ -15,3 +15,3 @@ ``` | ||
```bash | ||
npm i react-ga4 | ||
npm i react-ga4-forked | ||
``` | ||
@@ -123,3 +123,3 @@ | ||
```js | ||
import { ReactGAImplementation } from "react-ga4"; | ||
import { ReactGAImplementation } from "react-ga4-forked"; | ||
@@ -126,0 +126,0 @@ class MyCustomOverriddenClass extends ReactGAImplementation {} |
120635