Skip to main content
Run this once a day (cron, Airflow, a scheduled Worker) to append yesterday’s traffic. Reports are aggregated, so a day of even heavy crawler traffic is a few hundred rows.

Notes

  • Make the load idempotent: delete the day’s rows before inserting, so a re-run after a failure does not double-count.
  • Late data exists. Integrations retry, so a few hits for a day can arrive after midnight. Re-loading the previous three days each run catches them.
  • Spoofed crawler hits are excluded. To store them too, add {"field": "verified", "op": "in", "value": ["verified", "failed", "partial", "unverified"]} as the bots filter.