Skip to content

Commit

Permalink
misc: disable google-gtag plugin in Netlify deploys (facebook#4951)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Jun 14, 2021
1 parent d2a5be8 commit 4e5f0fe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,11 @@ const isVersioningDisabled = !!process.env.DISABLE_VERSIONING || isI18nStaging;
},
image: 'img/docusaurus-soc.png',
// metadatas: [{name: 'twitter:card', content: 'summary'}],
gtag: {
trackingID: 'UA-141789564-1',
},
gtag: !isDeployPreview
? {
trackingID: 'UA-141789564-1',
}
: undefined,
algolia: {
apiKey: '47ecd3b21be71c5822571b9f59e52544',
indexName: 'docusaurus-2',
Expand Down

0 comments on commit 4e5f0fe

Please sign in to comment.