next-gtm
Version:
Google tag manager module
39 lines (23 loc) • 437 B
Markdown
- [Installation](
- [Usage](
- [License](
```
npm install --save next-gtm
or
yarn add next-gtm
```
Your Layout Component:
```javascript
import Gtm from 'next-gtm'
<Head>
// layout code
</Head>
<Gtm id='GTM-XXXXXXXX'/>
// ...
```
[]© Pavel Ishenin