Logo Quiz icon

Fonctionnalités

Documentation

Guide de configuration pour Logo QuizVisuella

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:

  1. Create a Dataset — this is the log table your events land in.
  2. Create an API token with Ingest scope for that dataset.

2. Fill in setup.html

Open setup.htmlConfigurations → Logging and fill:

  • LOGGING_IS_ENABLEDtrue
  • 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.
Axiom config in setup.html

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.