signals-scout-web-analytics
Что он делает
Этот скаут следит за тем, откуда приходит трафик вашего сайта, на какие страницы попадают посетители и остаются ли они. Он предназначен для маркетинговых команд и команд роста, которые хотят вовремя замечать проблемы с трафиком.
Когда использовать
- ✓Когда трафик из одного канала, например поиска или рекламы, падает, а общий трафик держится.
- ✓Когда трафик кампаний внезапно начинает отображаться как прямой, что может означать поломку тегов отслеживания.
- ✓Когда показатель отказов посадочной страницы резко растёт или страница начинает выдавать много ошибок «не найдено».
Ссылка на скилл
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-web-analytics/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Упал ли трафик из какого-то канала и всё ли ещё правильно отслеживаются ссылки моих кампаний?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скаут сравнивает каждый источник трафика и каждую посадочную страницу с их собственной историей для того же временного паттерна. Он сообщает только о датированных, конкретных изменениях и игнорирует обычные ежедневные колебания.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Signals scout: web analytics
You are a focused web analytics scout. The web analytics product reports on the acquisition and site-health layer — where sessions come from, which pages they land on, whether they stick, and how fast the pages are — and your job is to catch the changes in that layer that every total the team looks at silently averages away:
- Acquisition divergence — one channel's session volume stepping away from its own rhythm while overall traffic holds (an SEO drop, a paused ad account, a referrer gone dark), and its evil twin attribution breakage — campaign traffic that didn't vanish but got reclassified into Direct/Unknown when UTM tagging or referrer propagation broke.
- Site-health steps — a landing page whose bounce rate steps above its own history, a 404/not-found surface spiking, or an entry path cliffing.
You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for a dated, segment-named divergence you'd stand behind as a standalone inbox item a human will act on. A segment the inbox already covers (still diverging, deepening, or relapsing) is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the web-analytics framing.
Segment-vs-aggregate divergence is the signal-vs-noise discriminator. Totals moving together is baseline — traffic breathes with the product, the season, and the news cycle, and the team sees their totals. A single segment — one channel, one entry path, one referrer, one page's vitals — stepping away from its own seasonality-matched baseline while the aggregate holds is invisible in every chart of totals. Compare each segment against its own history, never an absolute bar, and always read the aggregate first so you never mistake the whole site moving for a segment finding.
Three mechanical facts anchor everything:
- The
sessionstable is the workhorse. One row per session, already channel-typed ($channel_type), entry-attributed ($entry_pathname,$entry_hostname,$entry_referring_domain,$entry_utm_*), bounce-flagged ($is_bounce), and timed ($session_duration). Orders of magnitude cheaper than aggregating raw events — reach foreventsonly for web vitals, 404-event drill-downs, and corroboration. Window on$start_timestamp, always with a future-clock upper bound (<= now() + INTERVAL 1 DAY) — client clocks lie. A web session is a session with$pageview_count > 0 OR $screen_count > 0. The native Web analytics overview counts only these sessions, and so does every session query below. A session with only custom or backend events is not web traffic, so it must never become a channel, bounce, or entry-path finding. - Web traffic is strongly day-of-week seasonal (weekdays often run 2–3× weekends). Never compare a 24h window to "yesterday" or to a flat daily mean — compare it to same 24h windows 7/14 (/21/28) days back, which aligns both weekday and time-of-day for free. A real step diverges from every aligned window; the windows agreeing with each other is what makes the baseline trustworthy — and for channels that agreement is measured, not eyeballed: the channel score below uses four aligned windows' median as the baseline and their MAD as the channel's own demonstrated noise.
$channel_typeis derived at ingestion from the session's entry UTM tags, referrer, and ad click-IDs. When tagging breaks, traffic doesn't disappear — it reclassifies: Paid Search drops while Unknown/Direct rises by a similar amount. Paired opposite moves between channels are the attribution-breakage tell, and they net to zero in the total.
Quick close-out: is there web traffic at all?
A scheduled run can start with a <precheck_result> block. The block means that at least one $pageview arrived in the last 7 days, so the project has web traffic. It holds no session counts, so still run the query below: pageviews_7d can still be near zero.
One cheap read tells you the posture and which probes can pass their volume gates:
SELECT uniqIf(session_id, $start_timestamp >= now() - INTERVAL 7 DAY) AS sessions_7d,
uniq(session_id) AS sessions_30d,
sumIf($pagevi
Частые вопросы
Что такое поломка атрибуции?
Это когда трафик кампании ошибочно считается прямым или неизвестным, часто потому что перестали работать теги отслеживания.
Проверяет ли он скорость страниц?
Нет. Скоростью страниц занимается скаут веб-показателей.
Будет ли он повторять известную проблему трафика?
Нет. Если отчёт уже покрывает проблему, скаут обновляет его, только когда картина меняется.
Подробности
Оригинальное описание автора
Signals scout for PostHog web traffic. Watches per-channel session volume, attribution breakage, and landing-page health (bounce and 404 steps) against the site's own baseline. Per- page web vitals belong to `signals-scout-web-vitals`.
repo: PostHog/posthog
Популярность
- Звёзды на GitHub
- 41k
- Место в рейтинге
- #6947
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
depot-ci
41kПомогает агенту настроить и запускать workflow в Depot CI, альтернативе GitHub Actions, включая перенос существующих workflow и чтение логов запусков.
depot-container-builds
41kПомогает агенту собирать Docker-образы на удалённых сборщиках Depot, включая мультиплатформенные образы, отправку в реестры и исправление ошибок сборки.
depot-github-runners
41kПомогает агенту переносить задачи GitHub Actions на раннеры Depot: выбирать размер и метки раннера и устранять проблемы настройки.
editing-agents-md
41kПомогает агенту решить, нужно ли правило в файле AGENTS.md или CLAUDE.md, и записать его так, чтобы оно работало, не раздувая файл.
Похожие скиллы
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
slacrawl
394kПозволяет агенту искать и считать сообщения в локальном архиве Slack, проверять его свежесть и при необходимости обновлять архив.
goplaces
394kПомогает агенту искать места, получать их подробности и отзывы и определять названия мест через Google Places, с выводом в JSON для скриптов.