Skip to content

Commit

Permalink
adding googletag manager to docusaurus (great-expectations#6584)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleaton authored Dec 14, 2022
1 parent 206ca8c commit de24430
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ module.exports = {
organizationName: 'great-expectations',
projectName: 'great_expectations',
plugins: [
// ["plugin-image-zoom"],
require.resolve('@cmfcmf/docusaurus-search-local'),
'@docusaurus-terminology/parser',
'docusaurus-plugin-sass'
'docusaurus-plugin-sass',
[
require.resolve('docusaurus-gtm-plugin'),
{
id: 'GTM-K63L45F', // GTM Container ID
}
],
],

themeConfig: {
Expand Down Expand Up @@ -241,8 +246,7 @@ module.exports = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
remarkPlugins: [remarkCodeImport, remarkNamedSnippets],
editUrl:
'https://github.com/great-expectations/great_expectations/tree/develop/'
editUrl: 'https://github.com/great-expectations/great_expectations/tree/develop/'
},
theme: {
customCss: require.resolve('./src/css/custom.scss')
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@docusaurus/theme-search-algolia": "^2.0.0-beta.21",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"docusaurus-gtm-plugin": "^0.0.2",
"docusaurus-plugin-sass": "^0.2.2",
"plugin-image-zoom": "ataft/plugin-image-zoom",
"react": "^17.0.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4138,6 +4138,11 @@ doctrine@^3.0.0:
dependencies:
esutils "^2.0.2"

docusaurus-gtm-plugin@^0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/docusaurus-gtm-plugin/-/docusaurus-gtm-plugin-0.0.2.tgz#f39864b54ca594e3281902c23b6df0763761602b"
integrity sha512-Xx/df0Ppd5SultlzUj9qlQk2lX9mNVfTb41juyBUPZ1Nc/5dNx+uN0VuLyF4JEObkDRrUY1EFo9fEUDo8I6QOQ==

docusaurus-plugin-sass@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/docusaurus-plugin-sass/-/docusaurus-plugin-sass-0.2.2.tgz#9b7f8c6fbe833677064ec05b09b98d90b50be324"
Expand Down

0 comments on commit de24430

Please sign in to comment.