Skip to content

Commit 4aa936e

Browse files
committed
Add analitics
1 parent 2834029 commit 4aa936e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ jobs:
338338

339339

340340
website-nightly:
341-
needs: [jvm-tests, format, checks, reference-doc]
341+
# needs: [jvm-tests, format, checks, reference-doc]
342342
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/v')
343343
runs-on: ubuntu-latest
344344
steps:

website/docusaurus.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ module.exports = {
1313
favicon: 'img/favicon.ico',
1414
organizationName: 'Virtuslab',
1515
projectName: 'scala-cli',
16-
plugins: ['docusaurus-plugin-sass'],
16+
plugins: ['docusaurus-plugin-sass', '@docusaurus/plugin-google-gtag'],
1717
themeConfig: {
18+
gtag: {
19+
// You can also use your "G-" Measurement ID here.
20+
trackingID: 'GTM-5TZTCGF',
21+
anonymizeIP: true,
22+
},
1823
prism: {
1924
theme: lightCodeTheme,
2025
darkTheme: darkCodeTheme,
@@ -129,5 +134,5 @@ module.exports = {
129134
},
130135
},
131136
],
132-
]
137+
],
133138
};

0 commit comments

Comments
 (0)