Pular para o conteúdo
Skillpedia
Análise e planilhas41 mil · #6947

signals-scout-web-analytics

O que ela faz

Este scout observa de onde vem o tráfego do seu site, em quais páginas os visitantes chegam e se eles permanecem. É para equipes de marketing e crescimento que querem identificar problemas de tráfego cedo.

Quando usar

  • ✓Quando o tráfego de um canal, como busca ou anúncios, cai enquanto o tráfego total se mantém.
  • ✓Quando o tráfego de campanhas aparece de repente como tráfego direto, o que pode indicar que as tags de rastreamento quebraram.
  • ✓Quando a taxa de rejeição de uma página de entrada dispara, ou quando uma página começa a devolver muitos erros de não encontrado.

Link da skill

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-web-analytics/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-web-analytics/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“O tráfego de algum canal caiu, e meus links de campanha continuam sendo rastreados corretamente?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

Ele compara cada origem de tráfego e cada página de entrada com o próprio histórico para o mesmo padrão de tempo. Relata apenas mudanças datadas e específicas, e ignora as oscilações diárias normais.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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:

  1. 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.
  2. 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:

  1. The sessions table 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 for events only 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.
  2. 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.
  3. $channel_type is 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
Perguntas frequentes

O que é uma quebra de atribuição?

É quando o tráfego de uma campanha é contado erroneamente como direto ou desconhecido, muitas vezes porque as tags de rastreamento pararam de funcionar.

Ele verifica a velocidade da página?

Não. A velocidade da página é coberta pelo scout de web vitals.

Ele vai repetir um problema de tráfego já conhecido?

Não. Se um relatório já cobre o problema, o scout só o atualiza quando o cenário muda.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
41 mil
Posição no ranking
#6947
Licença
—
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas