Skip to content

Commit

Permalink
Merge pull request #1483 from altais/dev
Browse files Browse the repository at this point in the history
Fix datalayer because both gtag and gtm was activated
  • Loading branch information
ACStone-MTS authored Jul 17, 2024
2 parents fdffe67 + 3ba1996 commit 77bb9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module.exports = {
// editCurrentVersion: true,
// onlyIncludeVersions: process.env.PREVIEW_DEPLOY === "true" ? ["current", ...versions.slice(0, 2)] : undefined,
},
...(gtagConfig["trackingID"] && { gtag: gtagConfig }),
//...(gtagConfig["trackingID"] && { gtag: gtagConfig }),
...(gtmConfig["containerId"] && { googleTagManager: gtmConfig }),
// IMPORTANT: disable blog feature
blog: false,
Expand Down

0 comments on commit 77bb9e2

Please sign in to comment.