Marketing analytics — LTP analysis

Built fromdocs/plans/2026-10-16-analytics-one-view.md (SCQ), then walked through tree by tree with Rufus, 16–17 Oct; each tree critiqued by an independent sub-agent before review
Candidateanalytics.ltp.yaml (matches the trees below)
ValidationNot machine-validated. A local script confirmed unique ids, resolving references, same-view links and a role for every entity. Attach in the Reason Commons app to run the import

Goal tree (confirmed by Rufus, 16 Oct)

GOAL: Cheaply, each week, we know how our properties are doing (attention, conversions, trend)
      and why, well enough to decide what to push, keep or park
├── NC: Numbers land in one place, refreshed automatically (no manual checking)
├── NC: Weekly values are kept, so trends are visible (history, not just snapshots)
├── NC: Someone sees the numbers weekly (e.g. a short agent summary to Rufus)
├── CSF1: Traffic on each site we control, per project
│   ├── NC: A list of our properties (sites, repos, channels)
│   ├── NC: Tracking works on each (tag present, data non-zero)
│   └── NC: Agent-readable access (API plus credentials) to each analytics tool
├── CSF2: Conversions per project
│   ├── NC: "Conversion" defined per project (newsletter, product sign-up, download)
│   └── NC: Each conversion captured somewhere readable (CRM, form event, release counts)
├── CSF3 (later): Activity on external posts and channels (Reddit, HN, YouTube, Bluesky)
│   ├── NC: Every post logged, including HN and Reddit
│   └── NC: Post stats retrievable (Reddit/HN score and comments, YouTube views)
└── CSF4 (later): Which actions led to results
    └── NC: Posts joined to traffic and conversions (UTM or timing)
        └── NC: Links carry UTM tags (one way to join; timing or referrer is another)

This replaces the extracted goal tree; the item table below still lists the earlier goal items.

Current reality tree (confirmed by Rufus, 16 Oct)

UDE: Effort goes out blind; we neither learn nor focus
├── UDE: Things get done for a week, then dropped
│   ├── We can't compare posts, channels or projects (no signal to keep going)
│   └── Attention moves to the next launch (launching is cheap with AI)
└── We can't compare posts, channels or projects
    └── We don't know how our properties are doing (attention, conversions, trend)
        ├── Numbers aren't in one place and nothing refreshes them
        │   ├── Data sits in separate tools (GA4, Umami, PostHog, YouTube Studio, Twenty)
        │   └── No agent access (no API keys or credentials set up)
        │       └── So checking by hand is slow (e.g. logging into GA)
        ├── No history kept, so no trends (only snapshots, when anyone looks)
        ├── Tracking missing or broken on some properties (e.g. RTM none, rufuspollock.com dead UA id)
        │   └── No list of our properties, so gaps go unnoticed (e.g. Open Revolution)
        ├── Conversions not defined or captured per project (e.g. tryinbox downloads, product sign-ups)
        ├── Nobody reviews weekly
        │   ├── No agent summary arrives
        │   └── Unclear what to look for
        │       ├── Conversions undefined (above)
        │       └── No decision rule (e.g. park threshold)
        └── (later) Results can't be tied to actions
            ├── Posts not reliably logged (esp. HN, Reddit)
            ├── Links lack UTM tags
            └── Post stats not fetched (Reddit/HN score, YouTube views)

ROOT (critical): Measurement is manual work per site, not a reusable agent routine applied at launch
├── → No list, no keys, broken tags, undefined conversions, nobody reviewing
└── → So setup looks too costly for the value

Joint causes ("separate tools AND no agent access") are stored as two contributes_to links, since the format cannot hold an AND.

Conflict cloud (reviewed with Rufus, 16 Oct): weak, no real dilemma

OBJECTIVE: Learn cheaply which properties deserve effort (push, keep or park)
├── NEED B: Launch fast and cheap        → ACTION D:  Skip measurement setup at launch
└── NEED C: Know early whether it works  → ACTION D': Set up measurement at launch

Rufus: setting up measurement at launch is not a big cost; most things get GA or similar when it is easy. Once the list of properties exists, a missing tag shows up and is quick to add. So the cloud is weak: the injection is simply a launch step in the agent routine plus a gap check against the property list. Implication: the bottleneck is pulling and reviewing the numbers, not instrumenting.

Future reality tree (confirmed by Rufus, 16 Oct)

GOAL: Cheaply, each week, we know how our properties are doing (attention, conversions, trend) and why → push/keep/park
├── Numbers trustworthy
│   └── I1 Property list (URL, tool and id, conversion and where captured, e.g. Twenty, GitHub releases)
│       + I5 Launch step in agent routine: add to I1, tag, name the conversion
│       + gap check (needs I0): tag missing, data zero → fixed quickly
├── Numbers in one place, refreshed, history kept → trends
│   ├── I0 Access: one read-only browser login per Google account (GA4 + Search Console; 2–3 accounts), one key per other tool
│   ├── I2 Start with GA4 + Twenty; add a source only when the summary shows it missing
│   └── I3 Weekly pull to CSV cache, one function per source, conversions included; backfill GA4 history
├── Someone sees them weekly and acts
│   └── I4 Short weekly agent summary to Rufus
│       ├── conversions first, traffic second
│       ├── demands a call: each promoted or new property with no push/keep/park in 4 weeks
│       ├── dormant properties monthly only
│       └── thresholds set after 4–6 weeks of baseline
└── (later) Why: results tied to actions
    ├── I6 Agents log their own posts, with UTM, and fetch post stats
    └── I4 prompts Rufus/Asdra to log manual HN/Reddit posts (one line each)
    Note: until this lands, the tree reaches "how", not "why"

NEGATIVE BRANCHES → mitigation
├── Keys or scripts break and eat the hour → summary reports missing sources; read-only keys in one store (pl-zecn)
├── Property list goes stale → I5 adds each launch to I1
├── Small numbers → wrong park call on slow-burn projects → park needs threshold and Rufus's judgment
└── Built round Rufus's tools, won't carry to Life Itself → keep sources pluggable; note what's personal

Joint effects ("I1 + I5 + gap check") are stored as separate contributes_to links.

Prerequisite tree (confirmed by Rufus, 17 Oct)

OBJECTIVE: Weekly pull + summary running (I0–I5 in place)
├── O1 GA4 + Search Console across independent Google accounts (Life Itself main, a fair amount in Datopian, maybe a third)
│   └── IO1 One read-only login per account, each with its own credentials file (no cross-org Viewer grants)
│       └── O2 OAuth client may be "Testing" (7-day token expiry)
│           └── IO2 Set the client to "In production" (external: warning screen, no expiry, works across accounts)
├── O3 gcloud not installed; APIs not enabled → IO3 Agent installs; Rufus enables APIs in the sitting
├── O-run Where the pull runs (tokens on the Mac) → IO-run Local weekly job on the Mac for now
├── O4 No property list → IO4 Agent drafts it: URL, tool, id, owner account, conversion
├── O5 Conversions undefined (needs IO4) → IO5 Rufus confirms one per active property
├── O6 Twenty access unknown → IO6 Check the CRM repo for a read path or key
├── O7 Secrets store undecided (pl-zecn) → IO7 ~/.config/<service> files for now
├── O8 Existing tool vs script unknown → IO8 1-hour check of appendix F incl. GA4 MCP server (first)
├── O-sit Rufus's steps scattered → IO-sit One prepared 20–30 min sitting with a pre-filled checklist (logins per account with 2FA, enable APIs, confirm owners and conversions, paste Twenty key)
├── O-test No proof access works → IO-test Agent lists all GA4 properties and GSC sites per account, diffs against IO4
├── O9 No slot for the summary → IO9 Fixed weekly day in the marketing rhythm (day to pick)
└── O10 (later) Manual posts unlogged → IO10 Weekly one-line prompt

ORDER: IO8 → IO4 draft → IO3 install → Rufus sitting → access test → IO6/IO7 → first pull → IO9

Transition tree (agreed 17 Oct; beads under marketing-861.28)

T0  Rufus, 2 min (optional, any time): open cloud.umami.is → tryinbox visits answered
T1  Agent, 30 min: check existing tools, GA4 MCP server first → decision recorded: tool or script
T2  Agent: draft property list (owner account "guessed") → list file exists
    └── Rufus, async: confirm conversions per property → conversion column filled
T3  Agent: check CRM repo for Twenty read path; install gcloud; write sitting checklist → checklist file complete
T4  Rufus sitting, ~20 min: one login per Google account (2FA), enable APIs, client "In production",
    pick summary day, Twenty key if needed → one credentials file per account
T5  Agent: access test, diffing GA4 properties and GSC sites per account against the list
    → one API call succeeds per account; owners corrected; tag gaps → one bead per site
T5b Agent: first manual 28-day snapshot (GA4 + Twenty) to Rufus → first numbers in week 1
T6  Agent: weekly GA4 pull to CSV with backfilled history, then Twenty sign-up pull → CSV with trend and conversions
T7  Agent: weekly summary (FRT I4 spec) + local launchd job → summary arrives on the chosen day
T8  Agent, any time: measurement step in the launch routine → next launch in list with tracking working
T9  After 4–6 weeks, Rufus + agent: set thresholds → each promoted property has a push/keep/park call
Later T10: post logging, UTM, post stats; Umami, PostHog, Search Console data, YouTube

Notes on the file

  • The format cannot hold joint causes ("A and B together"), so each is stored as separate contributes_to links.
  • Cross-tree links (an injection fixing a CRT cause, an IO serving an injection) are real but not stored; the importer refuses them.
  • No assessments: nothing has been ratified in the app.
Built with LogoFlowershow