mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 04:58:07 +00:00
Use plugin-google-tag-manager included in @docusaurus/preset-classic
Remove custom gtm plugin
This commit is contained in:
@@ -132,17 +132,14 @@ module.exports = {
|
||||
theme: {
|
||||
customCss: [require.resolve("./src/css/custom.css")],
|
||||
},
|
||||
googleTagManager: {
|
||||
containerId: 'GTM-57KS2MW',
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: [
|
||||
[
|
||||
require.resolve('docusaurus-gtm-plugin'),
|
||||
{
|
||||
id: 'GTM-57KS2MW', // GTM Container ID
|
||||
}
|
||||
],
|
||||
[
|
||||
[
|
||||
'@docusaurus/plugin-client-redirects',
|
||||
{
|
||||
fromExtensions: ['html', 'htm'],
|
||||
|
||||
Reference in New Issue
Block a user