Enable Analytics

This commit is contained in:
Billy Tat
2022-12-16 15:07:44 -08:00
parent 38bc4f8fa0
commit 7cd22e1bcd
4 changed files with 28 additions and 0 deletions
+21
View File
@@ -136,6 +136,12 @@ module.exports = {
],
],
plugins: [
[
require.resolve('docusaurus-gtm-plugin'),
{
id: 'GTM-57KS2MW', // GTM Container ID
}
],
[
'@docusaurus/plugin-client-redirects',
{
@@ -669,4 +675,19 @@ module.exports = {
},
],
],
scripts: [
{
src: 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js',
type:'text/javascript',
charset: 'UTF-8',
'data-domain-script': '0f98beb0-fc4c-417d-a42e-564e2cae42d2',
async: true
},
{
src: '/scripts/optanonwrapper.js',
type:'text/javascript',
async: true
},
// "/scripts/optanonwrapper.js"
],
};