File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,6 @@ const config = {
7171 theme : {
7272 customCss : require . resolve ( './src/css/index.css' ) ,
7373 } ,
74- gtag : {
75- trackingID : 'G-RNYQG9GVFJ' ,
76- anonymizeIP : true ,
77- } ,
7874 blog : {
7975 routeBasePath : '/examples' ,
8076 blogSidebarTitle : 'Examples' ,
@@ -150,6 +146,15 @@ const config = {
150146 } ,
151147 } ) ,
152148 plugins : [
149+ ...[
150+ process . env . NODE_ENV === 'production' && '@docusaurus/plugin-debug' ,
151+ process . env . NODE_ENV === 'production' && [
152+ '@docusaurus/plugin-google-tag-manager' ,
153+ {
154+ containerId : 'GTM-PVLQ9XVM' ,
155+ } ,
156+ ] ,
157+ ] . filter ( Boolean ) ,
153158 function svgModulePlugin ( ) {
154159 return {
155160 name : 'svg-module-plugin' ,
@@ -180,9 +185,6 @@ const config = {
180185 } ,
181186 } ;
182187 } ,
183- ...[
184- process . env . NODE_ENV === 'production' && '@docusaurus/plugin-debug' ,
185- ] . filter ( Boolean ) ,
186188 async function reanimatedDocusaurusPlugin ( context , options ) {
187189 return {
188190 name : 'react-native-reanimated/docusaurus-plugin' ,
Original file line number Diff line number Diff line change 2727 "@dnd-kit/modifiers" : " 9.0.0" ,
2828 "@docusaurus/core" : " 3.9.2" ,
2929 "@docusaurus/plugin-debug" : " 3.9.2" ,
30+ "@docusaurus/plugin-google-tag-manager" : " 3.9.2" ,
3031 "@docusaurus/preset-classic" : " 3.9.2" ,
3132 "@docusaurus/theme-common" : " 3.9.2" ,
3233 "@docusaurus/theme-mermaid" : " 3.9.2" ,
Original file line number Diff line number Diff line change @@ -15678,6 +15678,7 @@ __metadata:
1567815678 "@docusaurus/core": "npm:3.9.2"
1567915679 "@docusaurus/module-type-aliases": "npm:3.9.2"
1568015680 "@docusaurus/plugin-debug": "npm:3.9.2"
15681+ "@docusaurus/plugin-google-tag-manager": "npm:3.9.2"
1568115682 "@docusaurus/preset-classic": "npm:3.9.2"
1568215683 "@docusaurus/theme-common": "npm:3.9.2"
1568315684 "@docusaurus/theme-mermaid": "npm:3.9.2"
You can’t perform that action at this time.
0 commit comments