admin-components

Affiliate click statistics of one component

Aggregates the component_click_events of the component. Bot and crawler user agents are skipped (isBotUserAgent, which also treats a missing or empty user_agent as a bot). An unknown id answers 200 with zero counts.

get/api/admin/components/{id}/stats

Request

  • Base URL: https://voltplan.app
  • URL: https://voltplan.app/api/admin/components/{id}/stats
  • Auth: HTTP bearer

Response

Click statistics.

totalinteger required

All clicks, all time.

todayinteger required

Clicks since 00:00 UTC.

last7Daysinteger required

Clicks in the last 7 × 24 h.

last30Daysinteger required

Clicks in the last 30 × 24 h.

byCountryobject required

Clicks by resolved_country; unknown when empty.

bySourceobject required

Clicks by source; unknown when empty.

byAppobject required

Clicks by app: the source prefix before _ when it is a known app, else voltplan.

Changes

No recorded changes to this operation across all 1 revision of this API.