LinkAnalyticsResponse
Whether analytics data is gated due to tier limits
clicks_over_time object[]required
422024-01-15Reason analytics are gated (e.g., "click_limit_exceeded", "retention_limited")
link objectrequired
Android-specific destination URL (Business tier feature). Redirects Android users to this URL instead of the default.
https://play.google.com/store/apps/details?id=com.example421609459200user-123Desktop-specific destination URL (Business tier feature). Redirects desktop users (Windows, macOS, Linux) to this URL instead of the default.
https://example.com/desktop-apphttps://example.com/very/long/url1640995200Whether to forward visitor query params to the destination (Pro+ only). None = use org default (resolved at KV write time).
link-123456iOS-specific destination URL (Business tier feature). Redirects iPhone/iPad users to this URL instead of the default.
https://apps.apple.com/app/id123456789org-789HTTP redirect type: 301 (permanent) or 307 (temporary). Default is 301 for SEO, 307 available on Pro+ plans.
301abc123Possible values: [active, disabled, blocked]
["marketing","social"]My Awesome Link1609459300utm_params object
- null
- UtmParams
top_countries object[]required
25UStop_referrers object[]required
15https://google.comtop_user_agents object[]required
10Mozilla/5.0...150{
"analytics_gated": true,
"clicks_over_time": [
{
"count": 42,
"date": "2024-01-15"
}
],
"gated_reason": "string",
"link": {
"android_url": "https://play.google.com/store/apps/details?id=com.example",
"click_count": 42,
"created_at": 1609459200,
"created_by": "user-123",
"desktop_url": "https://example.com/desktop-app",
"destination_url": "https://example.com/very/long/url",
"expires_at": 1640995200,
"forward_query_params": true,
"id": "link-123456",
"ios_url": "https://apps.apple.com/app/id123456789",
"org_id": "org-789",
"redirect_type": "301",
"short_code": "abc123",
"status": "active",
"tags": [
"marketing",
"social"
],
"title": "My Awesome Link",
"updated_at": 1609459300,
"utm_params": "null"
},
"top_countries": [
{
"count": 25,
"country": "US"
}
],
"top_referrers": [
{
"count": 15,
"referrer": "https://google.com"
}
],
"top_user_agents": [
{
"count": 10,
"user_agent": "Mozilla/5.0..."
}
],
"total_clicks_in_range": 150
}