admin-affiliate

Daily affiliate click counts for the click heatmap

Counts component_click_events created since the start of the day months months ago (server local time). Bot and crawler user agents are skipped (isBotUserAgent, which also treats a missing or empty user_agent as a bot). Keys are UTC dates YYYY-MM-DD; days without clicks are absent.

get/api/admin/affiliate-heatmap

Request

  • Base URL: https://voltplan.app
  • URL: https://voltplan.app/api/admin/affiliate-heatmap
  • Auth: HTTP bearer

Query parameters

monthsinteger

Number of months back. A non-numeric value yields an invalid start date and a 500.

appstring

all, voltplan, cable or blog. An event's app is the first _-separated part of its source when that is voltplan, cable or blog, otherwise voltplan. Any other value matches nothing and returns empty dailyCounts.

Response

Daily click counts.

dailyCountsobject required

UTC date (YYYY-MM-DD) → human clicks that day; days without clicks are absent.

Changes

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