google-tag-manager-react-router-integrator
0.1.4 • Public • Published
Simple integrator for react router history and google tag manager
Install
npm install --save google-tag-manager-react-router-integrator
Test
npm run test
Dev environment
npm run dev
Use
import gtmIntegrator from 'google-tag-manager-react-router-integrator';
const historyChangeHandler = location => {
}
gtmIntegrator('GTM_CONTAINER_ID')(history)(historyChangeHandler);
Package Sidebar
Install
npm i google-tag-manager-react-router-integrator
Weekly Downloads