Analytics
Get Link Click Breakdown
See which links in your emails get clicked, across every email.
GET
Get Link Click Breakdown
Returns clicks per link destination across every email in the time range, ranked by unique clicks. Use it to see which pages your emails send people to, without opening each campaign.
Each subscriber counts once per link in
uniqueClicks, however often they clicked it, so double taps, repeat visits and the same footer link clicked in several emails do not inflate the ranking. clicks still counts every click.
Destinations ignore query strings, fragments and trailing slashes, so https://example.com/pricing?utm_campaign=april and https://example.com/pricing/ both count as https://example.com/pricing. Links that differ only by query parameters, such as video or product IDs, are combined too. Test sends are excluded, and detected email-security scanners and link previews are excluded unless you set includeMachineEngagement=true. For one campaign’s links with exact URLs, read clickedLinks from Get Campaign Metrics.
Query Parameters
string
default:"90d"
Sliding window over click times. One of:
1h, 24h, 7d, 30d, 90d.
Ignored when start and end are provided.string
Start of custom time range (ISO 8601). Must be used with
end.string
End of custom time range (ISO 8601). Must be used with
start. Max range: 90
days.string
Optional structural filter:
campaign, sequence, or transactional.
Marketer-role personal keys only see links from the campaigns and sequence
emails their role can open, and receive 403 for transactional.string
Optional recipient mailbox provider filter, for example
gmail, microsoft,
yahoo, or icloud.number
default:"10"
Number of destinations to return, from
1 to 50.boolean
default:"false"
Set to
true to include detected scanner and link-preview clicks.Response Fields
string
Applied period, or
custom when start and end were provided.number
Click events across every destination, repeats included, before
limit is
applied. 0 when nothing was clicked, in which case links is an empty
array.number
Sum of every destination’s
uniqueClicks, before limit is applied. A
subscriber who clicked two different links counts once for each.number
Distinct destinations, before
limit is applied.array
Destinations, most unique clicks first, ties broken by total clicks. Each item
has
url (the destination without query string, fragment or trailing
slash), clicks (every recorded click, repeats included), uniqueClicks
(subscribers who clicked the destination, each counted once; recipients
without a subscriber record count once per email) and share (percentage
of totalUniqueClicks, rounded to two decimals).emailType, mailboxProvider, start, and end are echoed back when you
provide them.