Skip to content

Onix-Systems/strapi-gtm-module

Repository files navigation

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-...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published