strapi-gtm-module

0.0.5 • Public • Published

Strapi plugin gtm-module

🖐 Installation

Add plugin dependency

npm i strapi-gtm-module

Configure the plugin

// file: config/plugins.js
module.exports = ({ env }) => ({
  // ...
  "strapi-gtm-module": {
    config: {
      gtmId: '',
      measurementId: '',
    },
  },
  // ...
}
  • gtmId - Google Tag Manager Id. Found in:

Workspace > Header right > ex: GTM-...

  • measurementId - The measurement ID associated with a stream. Found in the Google Analytics UI under:

Admin > Data Streams > choose your stream > Measurement ID ex: G-...

Package Sidebar

Install

npm i strapi-gtm-module

Weekly Downloads

33

Version

0.0.5

License

MIT

Unpacked Size

6.7 kB

Total Files

18

Last publish

Collaborators

  • vadim.satyr
  • onix-systems-react-team