powered by
This endpoint will group referrers metrics about a single Bitlink.
bitly_retrieve_metrics_by_referrers_by_domain( bitlink = NULL, size = 50, unit_reference = NULL, unit = NULL, units = -1, showRequestURL = FALSE )
- required, a Bitlink made of the domain and hash
- string | Default: 50 | The quantity of items to be be returned
- string | An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time.
- string | Default: "day", Enum: "minute" "hour" "day" "week" "month" | A unit of time
- integer | Default: -1 | An integer representing the time units to query data for. pass -1 to return all units of time.
- an optional T/F value to whether show URL which has been build and requested from server. For debug purposes, default FALSE.
https://dev.bitly.com/api-reference/#getMetricsForBitlinkByReferrersByDomains
if (FALSE) { bitly_bearerToken("access token") bitly_retrieve_metrics_by_referrers_by_domain( bitlink = "bit.ly/DPetrov", unit = "day", units = -1, size = 100 ) }
Run the code above in your browser using DataLab