Actions8
Statistics → Get Link Statistics
AI-generatedOverview
This node operation retrieves statistical data for a specific short link from Short.io. It is useful for analyzing the performance and usage of shortened URLs over various time periods, such as today, yesterday, last 7 days, last 30 days, last month, all time, or a custom date range. Practical applications include monitoring click trends, understanding user engagement, and optimizing marketing campaigns by examining detailed click statistics.
Use Case Examples
- A marketing team uses this node to get click statistics for a promotional short link over the last 30 days to evaluate campaign effectiveness.
- A website owner retrieves daily click data for a short link to track user engagement and adjust content strategy accordingly.
Properties
| Name | Meaning |
|---|---|
| Short Link Identifier | The unique identifier or path segment of the short link for which statistics are requested. It can be provided as a path or an ID string. |
| Period | The time period over which to retrieve statistics, such as today, yesterday, last 7 days, last 30 days, last month, all time, or a custom date range. |
| Start Date | The start date for the custom date range to retrieve statistics (required if period is custom). |
| End Date | The end date for the custom date range to retrieve statistics (required if period is custom). |
| Additional Fields | Optional parameters to customize the statistics retrieval, including the interval for click chart data and whether to skip top records like referer, browser, and country. |
Output
JSON
totalClicks- Total number of clicks on the short link during the specified period.clicksByInterval- Click statistics aggregated by the selected interval (hour, day, week, or month).topReferers- Top referring sources for the short link clicks, if not skipped.topBrowsers- Top browsers used by visitors clicking the short link, if not skipped.topCountries- Top countries from which the short link was accessed, if not skipped.
Dependencies
- Requires an API key credential for Short.io to authenticate requests.
Troubleshooting
- Ensure the short link identifier is correctly specified as either path or ID; incorrect identifiers will cause errors.
- If using a custom date range, both start and end dates must be provided and valid.
- API rate limits or authentication errors may occur if the API key is invalid or missing.
