Skip to content

Commit

Permalink
fix docusaurus.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yulianzavodnyk committed Aug 29, 2024
1 parent f6ed943 commit 7a5d161
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,26 +150,26 @@ const config = {
},
copyright: `Copyright © ${new Date().getFullYear()} IASA Student Council`,
},
head: [
{
tagName: 'script',
innerHTML: `
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-K25D9CQ2');
`,
},
{
tagName: 'noscript',
innerHTML: `
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K25D9CQ2"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
`,
},
],
}),
hheadTags: [
{
tagName: 'script',
innerHTML: `
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-K25D9CQ2');
`,
},
{
tagName: 'noscript',
innerHTML: `
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K25D9CQ2"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
`,
},
],
};

module.exports = config;

0 comments on commit 7a5d161

Please sign in to comment.