Skip to content

Commit

Permalink
change goolge tag configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Skretzschmann committed Apr 25, 2024
1 parent 9ce3e8f commit 022950f
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,7 @@ const usercentricsScript = ({ NODE_ENV }) => {
return config;
};

const googleTagScript = () => {
const config = {
type: "text/plain",
src: "https://www.googletagmanager.com/gtag/js?id=GTM-WV4MM8RQ",
"data-usercentrics": "Google Tag Manager",
async: true
};
return config;
};

const scripts = [usercentricsScript(process.env), googleTagScript()];
const scripts = [usercentricsScript(process.env)];

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -83,6 +73,9 @@ const config = {
},
sidebarPath: require.resolve("./sidebars.js")
},
googleTagManager: {
containerId: 'GTM-WV4MM8RQ',
},
blog: {
showReadingTime: true,
blogTitle: "Changelog",
Expand Down

0 comments on commit 022950f

Please sign in to comment.