File tree Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,15 @@ const config = {
10
10
onBrokenMarkdownLinks : "warn" ,
11
11
favicon : "img/BlackSymbol.svg" ,
12
12
organizationName : "Botpress/documentation" , // Usually your GitHub org/user name.
13
+ plugins : [
14
+ [
15
+ require . resolve ( 'docusaurus-gtm-plugin' ) ,
16
+ {
17
+ id : 'GTM-5ZGHFCL' , // GTM Container ID
18
+ }
19
+ ]
20
+ ] ,
13
21
projectName : "botpress/documentation" , // Usually your repo name.
14
-
15
22
presets : [
16
23
[
17
24
"@docusaurus/preset-classic" ,
@@ -34,10 +41,6 @@ const config = {
34
41
theme : {
35
42
customCss : require . resolve ( "./src/css/custom.css" ) ,
36
43
} ,
37
- gtag : {
38
- trackingID : "GTM-5ZGHFCL" ,
39
- anonymizeIP : false ,
40
- } ,
41
44
} ) ,
42
45
] ,
43
46
] ,
Original file line number Diff line number Diff line change 14
14
"write-heading-ids" : " docusaurus write-heading-ids"
15
15
},
16
16
"dependencies" : {
17
- "@docusaurus/core" : " ^2.0.0-beta.15" ,
18
17
"@docusaurus/plugin-google-gtag" : " ^2.0.0-beta.15" ,
19
18
"@docusaurus/preset-classic" : " ^2.0.0-beta.15" ,
20
19
"@docusaurus/theme-classic" : " ^2.0.0-beta.15" ,
23
22
"@mdx-js/react" : " ^1.6.21" ,
24
23
"@svgr/webpack" : " ^5.5.0" ,
25
24
"clsx" : " ^1.1.1" ,
25
+ "docusaurus-gtm-plugin" : " ^0.0.2" ,
26
26
"file-loader" : " ^6.2.0" ,
27
27
"front-matter" : " ^4.0.2" ,
28
28
"prism-react-renderer" : " ^1.2.1" ,
Original file line number Diff line number Diff line change 1193
1193
" @docsearch/css" " 3.0.0-alpha.50"
1194
1194
algoliasearch "^4.0.0"
1195
1195
1196
- " @docusaurus/[email protected] " , "@docusaurus/core@^2.0.0-beta.15" :
1196
+
1197
1197
version "2.0.0-beta.15"
1198
1198
resolved "https://registry.yarnpkg.com/@docusaurus/core/-/core-2.0.0-beta.15.tgz#1a3f8361803767072e56c77d60332c87e59f1ad0"
1199
1199
integrity sha512-zXhhD0fApMSvq/9Pkm9DQxa//hGOXVCq9yMHiXOkI5D1tLec7PxtnaC5cLfGHljkN9cKIfRDYUVcG1gHymVfpA==
@@ -3572,6 +3572,11 @@ dns-txt@^2.0.2:
3572
3572
dependencies :
3573
3573
buffer-indexof "^1.0.0"
3574
3574
3575
+ docusaurus-gtm-plugin@^0.0.2 :
3576
+ version "0.0.2"
3577
+ resolved "https://registry.yarnpkg.com/docusaurus-gtm-plugin/-/docusaurus-gtm-plugin-0.0.2.tgz#f39864b54ca594e3281902c23b6df0763761602b"
3578
+ integrity sha512-Xx/df0Ppd5SultlzUj9qlQk2lX9mNVfTb41juyBUPZ1Nc/5dNx+uN0VuLyF4JEObkDRrUY1EFo9fEUDo8I6QOQ==
3579
+
3575
3580
dom-converter@^0.2.0 :
3576
3581
version "0.2.0"
3577
3582
resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
You can’t perform that action at this time.
0 commit comments