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