mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-24 17:44:21 +03:00
Add google analytics
This commit is contained in:
parent
25a1b991ef
commit
342b089adc
@ -108,12 +108,20 @@ module.exports = {
|
||||
// it searches only in v1 docs if you are searching from v1 docs.
|
||||
// We should enable it if we start doing versioning.
|
||||
// contextualSearch: true
|
||||
},
|
||||
gtag: {
|
||||
trackingID: 'G-3ZEDH3BVGE',
|
||||
anonymizeIP: true,
|
||||
}
|
||||
},
|
||||
presets: [
|
||||
[
|
||||
'@docusaurus/preset-classic',
|
||||
{
|
||||
gtag: {
|
||||
trackingID: 'G-3ZEDH3BVGE',
|
||||
anonymizeIP: true,
|
||||
},
|
||||
docs: {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
sidebarCollapsible: true,
|
||||
|
1
web/package-lock.json
generated
1
web/package-lock.json
generated
@ -9,6 +9,7 @@
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.0.0-beta.6",
|
||||
"@docusaurus/plugin-google-gtag": "^2.0.0-beta.6",
|
||||
"@docusaurus/preset-classic": "2.0.0-beta.6",
|
||||
"@mdx-js/react": "^1.6.21",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
|
@ -15,6 +15,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.0.0-beta.6",
|
||||
"@docusaurus/plugin-google-gtag": "^2.0.0-beta.6",
|
||||
"@docusaurus/preset-classic": "2.0.0-beta.6",
|
||||
"@mdx-js/react": "^1.6.21",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
|
Loading…
Reference in New Issue
Block a user