bitly click count api

265 views
Skip to first unread message

David Zhang

unread,
Jun 25, 2013, 3:30:13 AM6/25/13
to bitl...@googlegroups.com

Hi,


I want to track the total clicks of a bitly url. For example, for the url http://bit.ly/1a5jZ75, bitly website 

shows 115 total click. But when I tried to use the api 


https://api-ssl.bitly.com/v3/link/clicks?access_token=my_access_token&link=http://bit.ly/1a5jZ75


I got link equals to 0


{"status_code": 200, "data": {"units": -1, "unit_reference_ts": null, "tz_offset": -4, "unit": "day", "link_clicks": 0}, "status_txt": "OK"}

So am I doing it wrong way? 


Thanks,

Wei

a...@bit.ly

unread,
Jun 25, 2013, 10:16:35 AM6/25/13
to bitl...@googlegroups.com
Hi Wei - 

That link (http://bit.ly/1a5jZ75) does actually have zero clicks.  The "135 total clicks" is counted off of what we call the aggregate link (https://bitly.com/N36VyL+) which combines the counts from all short links created from that long link "http://barnotesapp.com/".  

Let us know if you have any other questions or issues.

Regards,
Andrew
Reply all
Reply to author
Forward
0 new messages