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// file: config/plugins.js
2module.exports = ({ env }) => ({
3  // ...
4  "strapi-gtm-module": {
5    config: {
6      gtmId: '',
7      measurementId: '',
8    },
9  },
10  // ...
11}
  • 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 stars54 weekly downloads

Last updated

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