Repository navigation
analytics: events, performance, errors, replays; sitemap and privacy page - #15
Merged
Merged
Conversation
…page - u.js reports Web Vitals and uncaught JS errors (data-performance, data-errors). - recorder.js (replays, heatmaps) is added on easyp.tech only: unlike u.js it ignores data-domains. Masking and sample rate are set on the website in Umami. - Custom events: copy-install / install-method (home), copy-code and docs-action (fumadocs code blocks and page actions, via one document click listener), outbound / outbound-github, search-open, locale-switch, copy-plugins-config, copy-plugin, plugins-filter and a debounced plugins-search. - /privacy (en, ru): what is collected, and an opt-out that sets Umami's own umami.disabled flag; the recorder honours it too. - /sitemap.xml with hreflang alternates for real translations only, and /robots.txt, for Search Console and Yandex Webmaster. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Включает в Umami всё, что даёт пользу сайту: скорость страниц (Web Vitals) и ошибки JS, запись визитов и тепловые карты (
recorder.js, только на easyp.tech; маскирование и доля записываемых визитов задаются в настройках сайта в Umami), события на ключевых действиях (копирование команды установки и примеров кода, действия со страницей документации, переходы на другие сайты и на GitHub, открытие поиска, смена языка, копирование и поиск в каталоге плагинов). Добавлены/privacyна двух языках с переключателем отказа от аналитики (флаг Umamiumami.disabled),/sitemap.xmlсо ссылками на языковые версии и/robots.txtдля Search Console и Яндекс.Вебмастера. Проверено локально: сборка, 233 адреса из sitemap отвечают 200, каждое событие срабатывает один раз с ожидаемыми данными. С #12 пересекается толькоcomponents/plugins/copy-block.tsx(одна строка вcopy()).🤖 Generated with Claude Code