Actions8
Statistics → Get Domain Statistics
AI-generatedOverview
This node operation retrieves domain statistics from Short.io for a specified time period. It is useful for users who want to analyze the performance and usage of their shortened domains over various time frames, such as today, yesterday, last 7 days, last 30 days, last month, all time, or a custom date range. For example, a marketing team could use this to track click trends on their branded short links to optimize campaigns.
Use Case Examples
- Retrieve domain statistics for the last 30 days to analyze click trends.
- Get domain statistics for a custom date range to compare performance between two specific periods.
Properties
| Name | Meaning |
|---|---|
| Period | The time period for which the domain statistics are retrieved. Options include predefined ranges like today, yesterday, last 7 days, last 30 days, last month, all time, or a custom range. |
| Start Date | The start date for the custom date range to retrieve statistics after this date. Required if Period is set to Custom. |
| End Date | The end date for the custom date range to retrieve statistics before this date. Required if Period is set to Custom. |
| Additional Fields | Optional additional parameters for the request, such as the interval for the clicks chart data. |
Output
JSON
totalClicks- Total number of clicks on the domain links in the specified period.uniqueClicks- Number of unique clicks on the domain links in the specified period.clicksChart- Chart data representing clicks over time, segmented by the specified interval.topLinks- List of top-performing links with their click statistics.
Dependencies
- Requires an API key credential for Short.io to authenticate requests.
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to access domain statistics.
- If using a custom date range, verify that the start date is before the end date and both dates are valid.
- Check that the selected period option is supported and correctly passed to the API.
