mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Merge pull request #8027 from ToolJet/docs/gtm
[docs] updated preset from ga_mid to gtm
This commit is contained in:
commit
2c687cfc54
2 changed files with 3 additions and 5 deletions
|
|
@ -127,11 +127,9 @@ module.exports = {
|
|||
customCss: require.resolve('./src/css/custom.css'),
|
||||
},
|
||||
sitemap: {},
|
||||
gtag: isProd
|
||||
googleTagManager: isProd
|
||||
? {
|
||||
trackingID: process.env.GA_MID,
|
||||
// Optional fields.
|
||||
anonymizeIP: true, // Should IPs be anonymized?
|
||||
containerId: process.env.GTM,
|
||||
}
|
||||
: undefined,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[build]
|
||||
base = "docs/"
|
||||
publish = "build"
|
||||
command = "GA_MID=$GA_MID ALGOLIA_API_KEY=$ALGOLIA_API_KEY npm run build"
|
||||
command = "GTM=$GTM ALGOLIA_API_KEY=$ALGOLIA_API_KEY npm run build"
|
||||
|
||||
[template.environment]
|
||||
NODE_ENV = "production"
|
||||
|
|
|
|||
Loading…
Reference in a new issue