Get a drop's view analytics
dropthis_analyticsGet approximate view analytics for a drop by its drop ID. Returns view counts and traffic breakdown by country, referrer, and day based on your plan.
Instructions
Approximate view analytics for one drop, by its drop_… id. Gated by the analytics capability: Free returns feature_not_in_plan (403, needs Keep); Keep (view_count) returns views + truncated only; Pro+ (full) also returns byCountry / byReferer / daily. Counts are best-effort — captured fire-and-forget at the edge, so treat them as an approximate signal, not exact human visits. Requires drop_id (id-only — for a public URL or slug call dropthis_resolve first). Use when the user asks how many views / how much traffic a drop got.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop_id | Yes | The `drop_…` id of the drop whose analytics to read (id-only — a URL or slug is rejected; call dropthis_resolve to turn a public URL/slug into its id first). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daily | No | Daily view series [{date, views}] — full (Pro+) analytics only; null on view_count. | |
| views | Yes | Approximate total canonical-view count (best-effort). | |
| byCountry | No | Top countries [{key, views}] — full (Pro+) analytics only; null on view_count. | |
| byReferer | No | Top referer hosts [{key, views}] — full (Pro+) analytics only; null on view_count. | |
| truncated | No | True when the event set exceeded the read cap and the figures are a lower bound. |