Files
logic-puzzle/docs/RETENTION_MONETIZATION.md
T

115 lines
7.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Returning to Lumen
The November 2026 content update adds a reason to return to the bookshelf:
**Island postcards**, fourteen short outings with Mara after the lighthouse
story. Each outing has three fixed 7×7 patterns and an original written scene
that stays in the collection once all three patterns are solved. There are
42 distinct boards. All are uniquely solvable with the existing deduction
solver. These 7×7 grids are abstract patterns, not new picture puzzles. The
postcards are English text with Qwen3-TTS Base recordings cloned from the
existing island narrator. Controls support English and German.
The shelf now offers today's puzzle and the postcard collection before the
books. Outings can be taken in any order, never expire, and have no energy,
waiting period, paid unlock or streak penalty. Partial grids persist; collected
cards can be reread without ads. A resume button returns to the last unfinished
outing. Daily and postcard play leave a book's reading position intact. Android
Back returns to the collection or shelf from these activities.
## Ads at breaks
The local age-group choice is applied before any of these opportunities. Under 13 and Prefer not to say receive no ads, so every break continues immediately. Players who choose 13–17 or 18 and over use the pacing below.
- Each completed outing has at most one automatic-ad opportunity, **after** the
player reads the postcard and selects “Keep this postcard”. Closing the
dialog with Back or tapping outside it does not start an ad.
- The opportunity is claimed once and saved. Replays, duplicate taps and
restarts cannot create more opportunities for that outing. No-fill or pacing
suppression continues immediately and does not retry that outing later.
- Practice retains one opportunity after every fourth completion, now claimed
once per milestone. The existing three-break lifetime limit per book remains.
- Automatic ads have a three-minute opening grace period, at least three minutes
since the last full-screen ad (including a rewarded hint), and a limit of six
automatic displays per device-calendar day. The clock and cap persist across
restarts; the opening grace period also starts again on app launch.
- No automatic ad is requested at app launch, on the shelf, mid-puzzle or while
the new postcard is being read. Background and overlapping full-screen ads
are blocked. No-fill and show failures continue the flow.
- Rewarded hints remain optional and require the reward callback. The daily
automatic-ad cap does not limit voluntarily requested rewarded hints.
The spacing is an initial product choice, not an AdMob-prescribed interval.
[Google's guidance](https://support.google.com/admob/answer/6066980?hl=en)
recommends natural transitions and preserving the experience.
## What break-even means
The user's acquisition assumption is **€0.05 per Indian install**. The other
app's **€3 worldwide eCPM is not a measured India or Lumen rate**. A planning
case at €3 needs 17 served impressions per acquired install to cover acquisition
alone, or 25 to earn €0.075 before other costs. At €1, those same 25 impressions
earn only €0.025. New content is an experiment in repeat play, not a revenue
guarantee. Fourteen opportunities are not fourteen served impressions: users
may stop, pacing may suppress ads, and inventory may be unavailable.
Validate a small campaign before scaling. For example, 1,000 installs at €0.05
cost €50. Sum **that install cohort's** cumulative ad revenue after 7 and 30
days, divided by **all 1,000 installs**, including people who never returned or
saw an ad. Do not divide by active users or mix organic revenue into the paid
cohort. Compare cohorts with the same observation window, country, platform,
campaign and app version. Wait for the full window before judging D30. Track
D1/D7/D30 return rates, completed outings, impressions per acquired install,
rewarded participation and format-specific eCPM alongside revenue. Revenue
must exceed acquisition and any other variable costs, not merely equal CPI.
## Local QA report and its limits
Settings → **Playtest report** is available in debug, QA and check builds. Copy
exports local JSON with first-observed time, sessions separated by at least 30
minutes of inactivity, daily activity/completion/ad-event counts, collected
postcards and impression-level revenue callbacks. Observations begin with this
version, not necessarily the original install. Reinstalling deletes the report.
It contains no generated device identifier and is never uploaded by Lumen.
`Ads` registers `onAdImpression` and `onPaidEvent` separately. Money is stored
in SDK micros (divide by 1,000,000), separated by currency, format, precision,
date, and test-unit/configured-unit status. There is no inferred revenue for
requests, completed puzzles, absent callbacks or unavailable ads. Sample Google
ad units are marked `test`; configured units can still be running on SDK test
devices. Exclude **all QA and test-device traffic** from financial analysis.
Precision can be estimated or unknown; reconcile receipts with AdMob reporting.
Enable impression-level revenue reporting in the production AdMob setup before
checking those callbacks on a release device.
**This is not campaign analytics.** No production analytics backend, country
lookup, install attribution, consent integration for a new analytics service,
or multi-device cohort export has been configured. Campaign payback cannot be
proved by one device's report or by AdMob's overall daily revenue. Select and
configure an attribution/analytics destination before scaling acquisition; join
acquired installs (including zero-revenue installs) to their subsequent revenue
in a common reporting currency. Never silently add USD to EUR. Current builds
still default to Google's test ad IDs unless release configuration supplies
production IDs.
## Maintenance and verification
- Content: `lib/domain/postcards.dart`; stable boards:
`lib/domain/postcard_patterns.dart`. Do not reorder or change existing boards
under the v2 save keys after release. `dart tool/author_postcard_puzzles.dart`
reproduces the initial board set; use new IDs for future content.
- Saved grids/completions use global `postcard_v2_<id>_<slot>` keys. Previously completed v1 puzzles remain counted, while unfinished 5×5 marks do not transfer to 7×7 grids. Book saves
keep their original namespaces. Collected means **all three** completed,
never a rounded total across different outings.
- `test/postcards_test.dart`: all 42 boards, saving/resuming, exactly-once
awards, replay prevention, pacing, restart caps, currency and test separation.
- `test/postcards_widget_test.dart`: the full three-puzzle collection flow,
no-fill continuation, rereading, shelf navigation, portrait/landscape and
large text. Optional `--dart-define=CAPTURE_POSTCARDS=true` saves review PNGs
in `artifacts/postcard-review/`.
- Live SDK revenue, UMP and actual reward/dismiss/failure callbacks still need
device validation using the production configuration. Automated tests verify
the ledger and pacing rules and inject no-fill; they do not generate paid ads.
Any tablet deployment must follow `AGENTS.md`: verify the intended QA APK,
uninstall `com.lumen.daily.qa`, then install fresh without restoring data.