Tracked link clicks
get_link_statsClicks on one tracked link (link_id from list_links) or on all of them: total clicks, unique visitors, clicks per day, top referring sites, countries, devices, and — for links to a page or web address that carry campaign tags — how many form leads came in with those tags. Link previews from chat apps and crawlers are counted separately (bot_hits), never as clicks. Default window 30 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| link_id | No | ||
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |