Clicks on short links
get_link_clicksClicks and visitors on short links over a window against the previous one: per link, or for one link_id split by referrer, country, region, city, device, browser or OS. Site traffic itself is in get_overview and get_breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Split clicks by this dimension | |
| to | No | Last day, inclusive, YYYY-MM-DD; default today | |
| from | No | First day, YYYY-MM-DD; overrides period | |
| limit | No | Rows to return, at most 100 | |
| period | No | Window ending now; days are whole days in the timezone. Ignored when from is set. | 30d |
| link_id | No | One link from list_links; omitted, every link | |
| site_id | Yes | site_id from list_sites; a site name, slug or domain also resolves | |
| timezone | No | IANA zone for day boundaries; default the user's |