Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm looking for self-hosted URL shortener scripts and projects (e.g. YOURLs) that track traffic sources, locations and other statistics. I need one with a solid API and JSON support. Any suggestions?

share|improve this question
    
Note that if self-hosting is not an absolute requirement, bit.ly provides a lot of the information you are looking for. Just create an account to track your own or add "+" to the end of any bit.ly URL to view its stats. –  joshuahedlund Apr 12 '12 at 16:58
add comment

3 Answers

I have recently been researching the same thing.

YOURLS looks like a good option although I'm not entirely sure what reporting level you can access through this.

Bit.ly offer a custom domain setting when shortening links which works great! it requires you to point your site DNS at bitly (very simple step by step instructions).

In my opinion the best option (and the one I'm going to be using) is bit.ly. It's a tried and tested platform with solid reporting and flexibility.

https://bitly.com/a/custom_domain_settings

share|improve this answer
add comment

if you have to go self hosted take a look at YOURLS http://yourls.org/

Did you know bitly has an api, and allows you to use your own custom domain name FOR FREE?

why not let bitly handle all that traffic? YOURLS has its advantages since you can simply dump table.

But bitly also gets the job done for free

share|improve this answer
add comment

This script is self-hosted and has a stats page. Not sure what kind of functions you're looking for in an API but hope this helps get you started

http://codecanyon.net/item/url-shortener-script-with-stats-page-/1429705

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.