react-gtm-ts
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "This is a library to facilitate the implementation of Google Tag Manager.", | ||
@@ -8,0 +8,0 @@ "main": "./dist/index.js", |
@@ -27,7 +27,8 @@ # 🚀 react-gtm-ts | ||
ReactTagManager.init('GTM-NGV448C'); | ||
function MyApp({ Component, pageProps }: AppPropsWithLayout) { | ||
ReactTagManager.init('GTM-NGV448C'); | ||
return <Component {...pageProps} />; | ||
} | ||
export default MyApp; | ||
@@ -34,0 +35,0 @@ ``` |
67
6235