We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f8f253 commit f944689Copy full SHA for f944689
.github/workflows/deploy.yml
@@ -14,6 +14,8 @@ jobs:
14
with:
15
fetch-depth: 0
16
- run: npm ci && npm run build
17
+ env:
18
+ GOOGLE_ANALYTICS_TRACKING_ID: ${{ vars.GOOGLE_ANALYTICS_TRACKING_ID }}
19
- uses: actions/upload-pages-artifact@v3
20
21
path: build
docusaurus.config.js
@@ -42,6 +42,9 @@ const config = {
42
"./src/css/custom.css",
43
],
44
},
45
+ gtag: process.env.GOOGLE_ANALYTICS_TRACKING_ID && {
46
+ trackingID: process.env.GOOGLE_ANALYTICS_TRACKING_ID,
47
+ },
48
49
50
0 commit comments