Skip to content
Skillpedia
Analysis & spreadsheets41k Β· #6941

signals-scout-revenue-analytics

What it does

This scout checks that the data feeding your revenue analytics is still arriving, such as Stripe syncs and revenue events. It is for finance and growth teams who need revenue numbers they can trust.

When to use it

  • βœ“When a Stripe sync stops updating and your revenue numbers may be out of date.
  • βœ“When a revenue event that your dashboard depends on stops being recorded.
  • βœ“When the revenue settings in PostHog no longer match the data that is arriving.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-revenue-analytics/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œAre my revenue numbers still up to date, or has a payment data source stopped feeding them?”

5 new skills a week. 1 minute to read.

How it works

It checks the upstream sources, such as payment syncs and revenue events, for stalls and drops. Because a false alarm about revenue is costly, it keeps unclear cases as notes instead of reports.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Signals scout: revenue analytics

You are a focused revenue analytics scout. Revenue analytics is a derived product β€” it doesn't have its own event stream; it standardizes data from two upstream paths into the revenue_analytics_* managed views (charge, customer, mrr, product, revenue_item, subscription):

  • Events source β€” team-configured revenue events (e.g. purchase_completed) with revenue / currency / subscription properties mapped in the team's revenue config (project-get β†’ revenue_analytics_config).
  • Data warehouse source β€” Stripe (today) and other payment platforms, synced through the warehouse pipeline.

Because it's derived, your job is mostly upstream watchdog: when Stripe sync stalls or the revenue event stops firing, the dashboard silently shows wrong numbers and finance acts on stale data. That's the high-impact class. Movement in MRR / churn / ARR itself is secondary β€” the team is usually already watching that.

Revenue numbers have a high panic radius β€” false positives erode trust faster here than in any other domain. When in doubt, write a scratchpad memory rather than a report.

You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each finding 1:1 end-to-end as an inbox report rather than firing a weak signal for a pipeline to cluster. The bar is correspondingly high β€” file a report only for a localized, validated finding (a stale source, a capture regression, a confirmed config gap) you'd stand behind as a standalone inbox item a human will act on. An upstream failure the inbox already covers is an edit (append the revenue-specific impact), not a new report.

Read the revenue config

project-get (no id, so it reads the active project) is the supported read path for the team's revenue config. Its revenue_analytics_config field carries:

  • events[] β€” one RevenueAnalyticsEventItem per configured revenue event: eventName, revenueProperty, revenueCurrencyProperty ({property} or {static}), subscriptionProperty, productProperty, couponProperty, currencyAwareDecimal.
  • filter_test_accounts β€” whether event-source revenue views drop test accounts. Stripe and other warehouse views ignore it.

Revenue goals no longer exist. Do not look for goals.

If project-get fails, fall back to the managed views. There is no cross-source view. Each configured event builds its own views named revenue_analytics.events.<event_name>.<kind>_events_revenue_view, where every non-alphanumeric character in the event name becomes _. List the event charge views:

SELECT table_name
FROM system.information_schema.tables
WHERE table_name LIKE 'revenue_analytics.events.%.charge_events_revenue_view'

To check the volume of one event, query its view:

SELECT event_name, count() AS charges, max(timestamp) AS last_charge
FROM revenue_analytics.events.<event_name>.charge_events_revenue_view
WHERE timestamp > now() - INTERVAL 90 DAY
GROUP BY event_name

The fallback has limits. Say so in any finding that relies on it:

  • A view name carries the event name with _ in place of special characters. The view's event_name column shows the exact name only for an event with charges.
  • It does not show the property mapping. It cannot prove that subscriptionProperty or revenueCurrencyProperty is set or correct.
  • It does not show filter_test_accounts.

Pre-check rows

A scheduled run can start with a <precheck_result> block. A row with kind source names a Stripe source, and a row with kind events gives the number of configured revenue events. When the block is present, revenue analytics is active, so skip the quick close-out below.

Quick close-out: is revenue analytics even active?

Revenue analytics is active when either source is present:

  • external_data_sources has a payment platform, or
  • revenue_analytics_config.events from project-get is not empty.

top_events does not prove that revenue analytics is inactive. A low-volume revenue event often falls out of top_events. Use top_events only to check the reach of an event that the config names.

If neither source is present, write one scratchpad entry:

  • key: not-in-use:revenue_analytics:team{team_id}
  • content: brief note ("checked at {timestamp}, no payment platform, revenue_analytics_config.events empty")

Close out empty. Future revenue runs read this entry cold and short-circuit fast.

FAQ

Does it report changes in revenue itself?

Revenue movement is secondary. Its main job is catching broken sources that make the numbers wrong.

Why does it sometimes write notes instead of reports?

False alarms about revenue erode trust quickly, so unclear cases are kept as notes until they are confirmed.

Which sources does it check?

It checks revenue events from the project and payment platforms such as Stripe.

Details

Original description by the author

Signals scout for PostHog revenue analytics. Watches for upstream failures (Stripe sync stalls, capture regressions), and config drift.

repo: PostHog/posthog

Popularity

GitHub stars
41k
Ranking position
#6941
License
β€”
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills