Skip to content

Commit

Permalink
add containerId for Google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
DidierRLopes committed Nov 26, 2023
1 parent d83427c commit 8f9686e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ const config = {
customCss: ['./src/css/custom.css'],
},
}),
{
googleTagManager: {
containerId: 'GTM-PL77JR5L',
},
},
],
],

Expand Down Expand Up @@ -109,6 +114,11 @@ const config = {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: false,
},
}),

plugins: [
Expand Down
2 changes: 1 addition & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ a[href^="http"] {
text-decoration: underline;
}

a[href^="/"]:not([class^="menu__link"]):not([class^="sidebarItemLink"]):not([class^="navbar__item"]):not([itemprop^="url"]):not([class^="navbar__title"]):not([class^="tag_node_modules"]) {
a[href^="/"]:not([class^="menu__link"]):not([class^="sidebarItemLink"]):not([class^="navbar__item"]):not([itemprop^="url"]):not([class^="navbar__title"]):not([class^="tag_"]) {
font-style: italic;
text-decoration: underline;
}
Expand Down

0 comments on commit 8f9686e

Please sign in to comment.