
Qlynk - Statistics
Gets statistics for a shortened URL. REQUIRED: short_code (string). OPTIONAL: period ('day'|'week'|'month'|'year'|'all', default 'week'). RETURNS: Statistics object with total_visits, unique_visitors, devices breakdown, countries list, browsers breakdown.
Overview
This node retrieves statistics for a shortened URL using its short code. It is useful for analyzing link performance over different time periods, such as daily, weekly, monthly, yearly, or all-time. Practical applications include tracking total visits, unique visitors, device types, countries, and browser usage for marketing or user engagement analysis.
Use Case Examples
- Get weekly statistics for a specific shortened URL to monitor recent traffic trends.
- Retrieve all-time statistics to understand the overall performance of a shortened link.
Properties
| Name | Meaning |
|---|---|
| Short Code | The short code of the link to get statistics for, which is required to identify the specific shortened URL. |
| Period | The time period for the statistics, allowing selection of day, week, month, year, or all time to specify the range of data to retrieve. |
Output
JSON
total_visits- Total number of visits to the shortened URL.unique_visitors- Number of unique visitors to the shortened URL.devices- Breakdown of visits by device type.countries- List of countries from which the visits originated.browsers- Breakdown of visits by browser type.
Dependencies
- An API key credential for Qlynk API authentication
Troubleshooting
- Error if 'short_code' parameter is missing or empty: Ensure the short code is provided and not blank.
- API request failures: Check network connectivity and validity of the API key credential.
- If the node is set to continue on fail, errors will be returned in the output JSON under an 'error' property.
Links
- Qlynk API Documentation - Official documentation for the Qlynk API used to fetch statistics.