Skip to content

Improvement: tag the README's link to the site with utm_source=github-readme - #1727

Merged
repeat98 merged 1 commit into
mainfrom
improvement/readme-utm
Nov 18, 2026
Merged

repeat98 merged 1 commit into
mainfrom
improvement/readme-utm

Conversation

@repeat98

Copy link
Copy Markdown
Owner

Follows #1725, which counts where visits come from. This tags the README's link to the site.

What changed

  • README.md: the link to modwerk.app is now https://modwerk.app/?utm_source=github-readme. The site counts those visits as "GitHub README", apart from issues and pull requests (github, from the referrer), and drops the tag from the address once read.
  • github-readme joins VISIT_SOURCES, with its label in Admin → Statistics and a line in docs/STATISTICS.md.
  • A test reads the README and checks that every link to the site in it counts as github-readme.
  • The repository's About link on GitHub is a setting, not a file, so it is not part of this change.

Testing

  • npm run pr:ready: lint, typecheck, generators, build, the module checks and the site test suite pass. Locally sdk:check fails only because the m68k toolchain (m68k-elf-readelf) is not on this shell's PATH. Nothing under sdk/ changes; CI decides.
  • src/community/site-link-tags.test.ts, site-counts.test.ts, src/catalog/docs-links.test.ts, scripts/docs.test.mjs and every test that reads README.md: 32 files, 492 tests pass. tsc -b and eslint are clean.

What the guides lacked

Nothing new. docs/STATISTICS.md now lists the README among the links Modwerk tags itself.

🤖 Generated with Claude Code

…-readme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 18, 2026
@repeat98
repeat98 enabled auto-merge (squash) November 18, 2026 09:20
@repeat98
repeat98 merged commit 9d6f6cd into main Nov 18, 2026
13 checks passed
@repeat98
repeat98 deleted the improvement/readme-utm branch November 25, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant