Skip to content

Commit 5078565

Browse files
committed
add google analytics config
1 parent bf46396 commit 5078565

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/publish-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ jobs:
2222
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}

mkdocs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
site_name: Kafka containerization solution
1+
site_name: Install Apache Kafka with Docker or Helm
22
# site_url: 'https://github.com/sir5kong/kafka-docker'
33

44
## Repository
@@ -63,6 +63,11 @@ plugins:
6363
- minify:
6464
minify_html: true
6565

66+
extra:
67+
analytics:
68+
provider: google
69+
property: !ENV GOOGLE_ANALYTICS_KEY
70+
6671
# Page tree
6772
nav:
6873
- Docker Image: README.md

0 commit comments

Comments
 (0)