Skip to content

Replace yandex metrika counter - #242

Merged
insolor merged 2 commits into
mainfrom
replace-yandex-metrika-counter
Nov 2, 2026
Merged

insolor merged 2 commits into
mainfrom
replace-yandex-metrika-counter

Conversation

@insolor

@insolor insolor commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Changes
    • Website analytics now uses GoatCounter instead of Yandex Metrika, with the configured property updated to insolor.
    • The analytics script loads asynchronously.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0dee9ba8-05f5-4b30-a7af-dd93927c297b
Commits

Reviewing files that changed from the base of the PR and between 59c70eb and fad7036.

Files selected for processing: 5
  • .gitignore
  • .overrides/partials/integrations/analytics/goat-counter.html
  • mkdocs.yml
  • overrides/partials/integrations/analytics/yandex-metrika.html
  • pyproject.toml
Files with no reviewable changes: 2
  • pyproject.toml
  • overrides/partials/integrations/analytics/yandex-metrika.html

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

Walkthrough

The documentation configuration changes its analytics provider from Yandex Metrika to GoatCounter. The MkDocs theme custom directory changes, and site/ is added to .gitignore. The MIT License classifier is removed from pyproject.toml.

Changes: Documentation analytics

Layer / File(s) Summary
Configure documentation analytics
mkdocs.yml, .overrides/partials/integrations/analytics/goat-counter.html, overrides/partials/integrations/analytics/yandex-metrika.html, .gitignore
MkDocs uses .overrides as its custom directory and configures GoatCounter with the property insolor. The GoatCounter partial loads its script asynchronously and uses the configured property. The Yandex.Metrika partial is removed, and site/ is ignored.

Package metadata

Layer / File(s) Summary
Update package classifiers
pyproject.toml
The MIT License classifier is removed from the package classifiers.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · up to fad70

The analytics replacement and package metadata update have no confirmed merge-blocking issues.

Architecture risk: Low · up to fad70

The change affects 3 systems.

Changed systems: mkdocs.yml, overrides, pyproject.toml

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — mkdocs.yml (service) was modified; 1 changed file maps to changed impact.
  • observed — overrides (service) was modified; 1 changed file maps to changed impact.
  • observed — pyproject.toml (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in mkdocs.yml: The theme’s custom_dir changes from overrides to .overrides.
  • observed — Modified behavior in mkdocs.yml: Analytics switches from Yandex Metrika with property 94803377 to Goat Counter with property insolor.
  • observed — Modified behavior in overrides/partials/integrations/analytics/yandex-metrika.html: The Yandex.Metrika counter partial was removed. It previously loaded the tag script unless that script URL was already present, initialized the counter with the configured property and tracking options, and provided a noscript image using that property.
  • observed — Modified behavior in pyproject.toml: The MIT License classifier was removed from the classifiers list.
Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Replace yandex metrika counter" matches the main change. The PR swaps the Yandex Metrika analytics partial for a GoatCounter script, updates mkdocs.yml to point analytics at GoatCounter, an…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Replace yandex metrika counter" matches the main change. The PR swaps the Yandex Metrika analytics partial for a GoatCounter script, updates mkdocs.yml to point analytics at GoatCounter, and deletes the Yandex partial. The title is short and specific. It does not mention the secondary changes (the .gitignore entry for site/, the custom directory rename, and the removed MIT license classifier), which is acceptable because a title need not cover every detail.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@insolor
insolor merged commit 343a913 into main Nov 2, 2026
12 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Nov 2, 2026
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.

1 participant