Returns the short link and long URL for the specified link. Returns the click counts for the specified link in an array based on a date. Returns the click counts for the specified link rolled up into a single field. Returns the country origins of click traffic for the specified link. Returns the city origins of click traffic for the specified link.
Returns the device types generating click traffic to the specified link. Returns the referring domain click counts for the specified link. Returns click metrics grouped by referrers for the specified link. Bulk update can add or remove tags or archive up to links at a time; The response includes a a list of bitlink ids that were updated.
Branded short domains BSDs are the custom domains used to brand your links. A BSD can be added to a Bitly organization and may be assigned to one or more groups. They can contain up to 32 characters. Bitly Campaigns are used to build and organize links and metrics for marketing campaigns.
Returns the campaigns for the current authenticated user. These endpoints are for updating custom Bitlinks only. Custom Bitlinks have both a BSD and a customized back-half e. If a link begins with the bit. Add a keyword or "custom back-half" to a Bitlink with a Custom Domain. This endpoint can also be used for initial redirects to a link. Move a keyword or custom back-half to a different Bitlink. Returns click metrics for the specified link by its historical destinations.
Returns the click counts for the specified link. This returns an array with clicks based on a date. Groups are subdivisions within organizations. Every user will be in at least one group, and every shortened link will be in one group.
Most actions on our API will be on behalf of a group. For example, when you shorten a link, it will be on behalf of a user and a group.
Returns the tags currently used in the specified group. Maximum Returns the geographic origins of click traffic by country for the specified group. Returns the geographic origins of click traffic by city for the specified group. Returns the device types generating click traffic to the specified group's links.
Returns metrics by referring networks for the specified group's links. Viewed 2k times. Andrew Reese. Andrew Reese Andrew Reese 6 6 silver badges 25 25 bronze badges. Add a comment. Active Oldest Votes. Generate Access Token: Log into bitly. Thank you so much for this detailed solution. And here I finally found it. Hope it helps others as well. Please upvote if it helped you in anyway. Sign up or log in Sign up using Google.
Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats commits. Failed to load latest commit information. View code. Bitly A Ruby gem for using the version 4 Bitly API to shorten links, expand short links and view metrics across users, links and organizations.
Keep in mind that bitly custom short domains are restricted to less than 15 characters in length. Returns the number of clicks on Bitlinks pointing to the specified tracking domain that have occured in a given time period. Bitly Overview. Followers: 3. Follow API.
0コメント