
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@trinitymirrordigital/cue-webpack-google-tag-manager-plugin
Advanced tools
Webpack plugin to add google tag manager
@trinitymirrordigital/cue-webpack-google-tag-manager-plugin
A clean and easy way to add Google Tag Manager support to your web project.
This is a fixed version of Webpack Google Tag Manager Plugin for Reach projects
yarn add --dev @trinitymirrordigital/cue-webpack-google-tag-manager-plugin
npm i --save-dev @trinitymirrordigital/cue-webpack-google-tag-manager-plugin
Webpack basic configuration for setting up the plugin
import webpack from 'webpack'
import HtmlWebpackPlugin from 'html-webpack-plugin'
import GoogleTagManagerPlugin from '@trinitymirrordigital/cue-webpack-google-tag-manager-plugin'
module.exports = {
...
plugins: [
new HtmlWebpackPlugin({
...
}),
new GoogleTagManagerPlugin({
id: 'your-container-id',
}),
],
}
Webpack configuration for making use of your environments
import webpack from 'webpack'
import HtmlWebpackPlugin from 'html-webpack-plugin'
import GoogleTagManagerPlugin from '@trinitymirrordigital/cue-webpack-google-tag-manager-plugin'
module.exports = {
...
plugins: [
new HtmlWebpackPlugin({
...
}),
new GoogleTagManagerPlugin({
id: 'your-container-id',
auth: 'your-auth-value',
preview: 'your-environment-value',
}),
],
}
Copyright (c) 2022 "Reach Shared Services Ltd"
FAQs
Webpack plugin to add google tag manager
The npm package @trinitymirrordigital/cue-webpack-google-tag-manager-plugin receives a total of 1 weekly downloads. As such, @trinitymirrordigital/cue-webpack-google-tag-manager-plugin popularity was classified as not popular.
We found that @trinitymirrordigital/cue-webpack-google-tag-manager-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.