Skip to content

Commit

Permalink
shift ga and gtag to presets
Browse files Browse the repository at this point in the history
necessary docusaurus change facebook/docusaurus#5832
  • Loading branch information
kyletgoldberg authored Mar 23, 2022
1 parent b94a4d7 commit 9df60cf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,6 @@ module.exports = {
// Please do not remove the credits, help to publicize Docusaurus :)
copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`,
},
googleAnalytics: {
trackingID: 'G-TMZK4YFDGL',
anonymizeIP: true,
},
gtag: {
trackingID: 'G-TMZK4YFDGL',
anonymizeIP: true,
},
},
presets: [
[
Expand All @@ -127,6 +119,14 @@ module.exports = {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
googleAnalytics: {
trackingID: 'G-TMZK4YFDGL',
anonymizeIP: true,
},
gtag: {
trackingID: 'G-TMZK4YFDGL',
anonymizeIP: true,
},
},
],
],
Expand Down

0 comments on commit 9df60cf

Please sign in to comment.