Get ClickBank analytics
get_analyticsFetch vendor or affiliate analytics by dimension such as product, country, or tracking ID. Enable totals with summarize to get quick performance summaries.
Instructions
Fetch vendor or affiliate analytics by dimension (product, country, tracking id, etc.). Set summarize=true for totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. ClickBank returns 100 rows per page. Default 1. | |
| role | Yes | ||
| select | No | ||
| account | No | ClickBank nickname (5-10 lowercase alphanumeric) | |
| endDate | No | Date as yyyy-MM-dd | |
| orderBy | No | ||
| maxPages | No | How many consecutive pages to fetch. Default 1, max 10. | |
| dimension | Yes | ||
| startDate | No | Date as yyyy-MM-dd | |
| summarize | No | If true, call the summary endpoint instead of the dimension breakdown. | |
| summaryType | No | ||
| useOrigDate | No | ||
| sortAscending | No | ||
| dimensionFilter | No |