
Fonctionnalités
Documentation
Logging
The app ships with a remote logging adapter for Axiom — a cheap, hosted log store. Use it to ship structured events (guess made, hint used, IAP purchase completed) to a dataset you can query.
Logging is entirely optional. LOGGING_IS_ENABLED=false disables the adapter — nothing is sent, nothing is buffered.
1. Create an Axiom dataset
Sign in at app.axiom.co and:
- Create a Dataset — this is the log table your events land in.
- Create an API token with Ingest scope for that dataset.
2. Fill in setup.html
Open setup.html → Configurations → Logging and fill:
- LOGGING_IS_ENABLED —
true - LOGGING_BASE_URL — usually
https://api.axiom.co(or your region-specific URL). - LOGGING_DATASET_NAME — the dataset name from step 1.
- LOGGING_TOKEN — the ingest token from step 1.
What gets logged
Out of the box, the app emits structured events for:
- app lifecycle (launch, foreground, background)
- guess results (correct / incorrect / skipped)
- hint spend
- IAP purchase started / completed / failed
- ad shown / rewarded ad completed
- crashes (also mirrored to Crashlytics)
Every event carries a per-install anonymous ID and the current app version — no PII.
Cost
Axiom's free tier is generous enough for the first few thousand DAU. If you outgrow it, either move to a paid Axiom plan or point the same adapter at any HTTP-compatible endpoint (Elastic, Datadog HTTP intake, your own collector) by changing LOGGING_BASE_URL.