The plugin that allows easily connect to Google Analytics and Google Tag Manager
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: '',
},
},
// ...
}
Workspace > Header right > ex: GTM-...
Admin > Data Streams > choose your stream > Measurement ID ex: G-...
npm install strapi-gtm-module
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.