1.0.0 • Published 5 years ago
next-gtm v1.0.0
Google Tag Manager Next.js simple component
Table of contents
Installation
npm install --save next-gtm
or
yarn add next-gtm
Usage
Your Layout Component:
import Gtm from 'next-gtm'
<Head>
// layout code
</Head>
<Gtm id='GTM-XXXXXXXX'/>
// ...
License
ISC© Pavel Ishenin
1.0.0
5 years ago