Integrate google tag manager

This commit is contained in:
Faisal Amir 2023-11-07 22:48:13 +07:00
parent dcc2b466d7
commit b6863d8249

View File

@ -81,6 +81,11 @@ const config = {
theme: { theme: {
customCss: require.resolve("./src/styles/main.scss"), customCss: require.resolve("./src/styles/main.scss"),
}, },
// GTM is always inactive in development and only active in production to avoid polluting the analytics statistics.
// Will Replace container ID later once already create
googleTagManager: {
containerId: "GTM-12345",
},
// Will be passed to @docusaurus/plugin-content-pages (false to disable) // Will be passed to @docusaurus/plugin-content-pages (false to disable)
// pages: {}, // pages: {},
}), }),