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:
<Head>// layout code</Head> <Gtm id='GTM-XXXXXXXX'/>// ...
License
[ISC]© Pavel Ishenin