Strapi plugin logo for Strapi GTM GA module

Strapi GTM GA module

The plugin that allows easily connect to Google Analytics and Google Tag Manager

Strapi plugin gtm-module

🖐 Installation

Add plugin dependency

npm i strapi-gtm-module

Configure the plugin

1
2
3
4
5
6
7
8
9
10
11
// 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-...

Install now

npm install strapi-gtm-module

STATS

2 GitHub stars65 weekly downloads

Last updated

396 days ago

Strapi Version

4.8.2 and above

Author

github profile image for Onix Systems
Onix Systems

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.