Skip to content

Add GoatCounter analytics tracking script#3

Merged
ppenenko merged 2 commits into
mainfrom
add-goatcounter
Jun 20, 2026
Merged

Add GoatCounter analytics tracking script#3
ppenenko merged 2 commits into
mainfrom
add-goatcounter

Conversation

@ppenenko

Copy link
Copy Markdown
Member

Injects the GoatCounter tracking script globally into the site layout template using MkDocs Material overrides.

@ppenenko

Copy link
Copy Markdown
Member Author

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds GoatCounter analytics to the MkDocs Material site by introducing a template override and wiring it up via MkDocs theme configuration.

Changes:

  • Add a MkDocs Material main.html override to inject the GoatCounter tracking script into the document <head>.
  • Configure MkDocs Material to use the overrides/ directory via custom_dir.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
overrides/main.html Adds a extrahead block override to load GoatCounter tracking script site-wide.
mkdocs.yml Enables MkDocs Material template overrides by setting theme.custom_dir: overrides.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread overrides/main.html Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@ppenenko ppenenko merged commit 39c3df0 into main Jun 20, 2026
1 check passed
@ppenenko ppenenko deleted the add-goatcounter branch June 20, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants