Phase 5 part 4: landing pages per buying signal

Each signal's page lists its landing pages with their Gitea status, live
address and 30-day visitors from Plausible, and builds a new one. Pages
can be duplicated as variants (B, C…, with their own utm_content), taken
off the site through a pull request that deletes the file, or have their
pull request closed. The scorecard counts live pages. Schema 23.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 14:19:55 -07:00
co-authored by Claude Opus 5.5
parent 11b80b6461
commit 062fcf2e59
17 changed files with 674 additions and 33 deletions
+23 -1
View File
@@ -658,7 +658,8 @@ data. Each becomes an adapter behind a `leadsource` interface.
- **Still to do.** The cart has to save the UTM tags in the Checkout
Session's metadata. Settings → Website & sales says how.
8. **Later, with Phase 5 (sites)**: Hugo pages per signal, created,
duplicated or deleted from the scorecard, through Gitea PRs.
duplicated or deleted from the scorecard, through Gitea PRs. **Built in
Phase 5's part 4 (2026-11-22).**
Inbound: the lead-form component (Phase 5) queues a Lead the same way,
tagged with the signal from its UTM campaign.
@@ -1303,6 +1304,27 @@ a branch. Pages show merged or closed from Gitea. Not yet tried against the
live AI or the real repository: a build is a paid AI call and pushes a
branch.
**Part 4 built (2026-11-22; schema 23, the removal pull request's
columns).** Each signal's page has a *Landing pages* section: its pages on
every site (variants after their original), their status from Gitea
(refreshed on view), the live address, and each live page's visitors over
30 days from Plausible (`event:page`, per page, never per person). A form
there builds a landing page for the signal (the page builder, with the
signal preset). Per page:
- *Duplicate as a variant*: a copy at the original's address plus `-b`,
`-c`… (variants B, C; the original becomes A), optionally rewritten from
notes on what to change. A variant's links to the site also carry
`utm_content=<its address>`, so sign-ups that keep the tags can be told
apart; the original's links stay as they are, so a live page needn't
change when a variant is added.
- *Remove from the site* (published pages): a pull request on
`supermarket/remove-site-page-<id>` deleting the file, checked with a
build; merged, the page is *removed*; closed, it's back to *merged*.
- *Close the pull request*: closes an open one (adding or removing) on
Gitea without merging.
The scorecard shows how many landing pages each signal has live. Phase 2's
part 8 is done by this.
### Future enhancements
Not in any phase yet; picked up when the user asks.