-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Configure GTM plugin #2124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Configure GTM plugin #2124
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds and configures the Google Tag Manager plugin for the Docusaurus site to enable tracking via a GTM container.
- Adds
@docusaurus/plugin-google-tag-manager
dependency topackage.json
. - Registers the plugin with the container ID in
docusaurus.config.js
.
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
package.json | Added GTM plugin dependency with version spec. |
docusaurus.config.js | Configured the GTM plugin with containerId . |
Comments suppressed due to low confidence (1)
docusaurus.config.js:199
- [nitpick] Consider adding an entry in the "What's new?" or changelog documentation to highlight the addition of the Google Tag Manager integration for users and maintainers.
'@docusaurus/plugin-google-tag-manager',
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
Configure Google Tag Manager plugin.
Preview
Checklist
Complete this checklist before merging your PR: