Link Stats
Fields
Request
link_statistics(
link_id: $link_id
start_time: $start_time
end_time: $end_time
offset: $offset
) {
events
countries
campaigns
destinations
}
Response
Last updated
link_statistics(
link_id: $link_id
start_time: $start_time
end_time: $end_time
offset: $offset
) {
events
countries
campaigns
destinations
}
Last updated
{
"data": {
"link_statistics": {
"events": [
{
"count": 36,
"day": "2024-02-20",
"event": "clickthrough"
},
{
"count": 48,
"day": "2024-02-20",
"event": "view"
},
{
"count": 42,
"day": "2024-02-21",
"event": "clickthrough"
},
{
"count": 61,
"day": "2024-02-21",
"event": "view"
},
{
"count": 50,
"day": "2024-02-22",
"event": "clickthrough"
},
{
"count": 88,
"day": "2024-02-22",
"event": "view"
},
{
"count": 42,
"day": "2024-02-23",
"event": "clickthrough"
},
{
"count": 65,
"day": "2024-02-23",
"event": "view"
},
{
"count": 36,
"day": "2024-02-24",
"event": "clickthrough"
},
{
"count": 62,
"day": "2024-02-24",
"event": "view"
},
],
"countries": [
{
"count": 727,
"country": "VE"
},
{
"count": 238,
"country": "CO"
},
{
"count": 180,
"country": "MX"
},
{
"count": 118,
"country": "EC"
},
{
"count": 111,
"country": "AR"
},
{
"count": 88,
"country": "CL"
}
],
"campaigns": [
{
"count": 518,
"event": "view",
"referrer": "m.facebook.com",
"utm_campaign": null,
"utm_medium": "paid",
"utm_source": "facebook"
},
{
"count": 380,
"event": "view",
"referrer": "instagram.com",
"utm_campaign": null,
"utm_medium": "paid",
"utm_source": "facebook"
},
{
"count": 282,
"event": "clickthrough",
"referrer": "m.facebook.com",
"utm_campaign": null,
"utm_medium": "paid",
"utm_source": "facebook"
},
{
"count": 238,
"event": "clickthrough",
"referrer": "instagram.com",
"utm_campaign": null,
"utm_medium": "paid",
"utm_source": "facebook"
}
],
"destinations": [
{
"count": 726,
"destination_id": "3aad8009-a307-4429-a586-8b3dbe39cdda",
"event": "clickthrough"
}
],
"__typename": "statistics"
}
}
}