Get Click Traffic and Platforms
Retrieve aggregated analytics showing click traffic by country and top platforms.
Endpoint
GET /v2/external/client/analytics/click-traffic-platforms?shortUrl={shortUrl}
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
shortUrl |
string | Yes | Short URL identifier |
Response
{
"status": true,
"message": "Click traffic fetched successfully",
"data": {
"clicksTraffic": {
"US": 450,
"GB": 230,
"CA": 180,
"DE": 120,
"FR": 100
},
"topPlatforms": {
"iOS": 520,
"Android": 380,
"Windows": 180,
"macOS": 120,
"Linux": 50
}
}
}
Response Fields
clicksTraffic: Object with country codes as keys and click counts as valuestopPlatforms: Object with platform names as keys and click counts as values
Notes
- Only links owned by the API key's user can be accessed
- Results are cached for 1 hour
- Data retention limits apply based on your plan
