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 am searching for a script (preferably in PHP) or an external solution which lets me create an "URL shortener" with advanced reports.

We have been using Google Short Links for a while: it works really well, but it lacks reporting (it only displays a counter with the total number of redirects). Our setup is as follows: "go.mydomain.com" points to the web service, and we can create links such as "go.mydomain.com/product1".

What I'm looking for is a similar service (or self-hosted solution) but with advanced reports, so we can track redirects by day, month, etc, distinguish between mobile and desktop users (very important!) and so on.

share|improve this question

closed as off-topic by Stephen Ostermiller Nov 5 '13 at 16:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Pro Webmasters as they tend to attract opinionated answers and spam." – Stephen Ostermiller
If this question can be reworded to fit the rules in the help center, please edit the question.

    
@Su': was it really necessary to edit my question to remove the "thanks" at the end? -.-" –  Qualcuno Apr 1 '12 at 0:47
2  
Yes, that is generally not accepted here. –  John Conde Apr 1 '12 at 2:18
    
@Qualcuno I can't find the reference link right this second, but the short version is that the SE sites aren't really for "discussion" per se. (See also: if there are more than five comments on a response, the system starts suggesting you take it to chat.) Just establish the facts and ask your question, without all the hello please and thanks. Those niceties pretty much just take up space and are discouraged. All that said, if you want to continue discussing this, it probably belongs in meta. –  Su' Apr 1 '12 at 9:43

2 Answers 2

up vote 2 down vote accepted

You can try this:
http://briancray.com/2009/08/26/free-php-url-shortener-script/
and this:
http://yourls.org/

share|improve this answer
    
Thank you for your answer. However: the first one doesn't have any reporting (a part from a basic counter). The second one doesn't track links from desktop/mobile... Do you know any hosted solutions, by the way? –  Qualcuno Apr 1 '12 at 9:41

Bitly Enterprise will probably cover anything you need, but it's ~$1000/mo flat, no cheaper plans. The stats included with free bitly accounts(previously part of bitly Pro) are pretty minimal.

share|improve this answer
    
That's too much expensive... I don't mind paying, but 995$/month is really too much. –  Qualcuno Apr 1 '12 at 10:23
1  
I suspected it might be, but it's the only one I know of that really offers any significant reporting. Don't know why most/all the other options seem uninterested in filling the massive price gap from free to this. –  Su' Apr 1 '12 at 19:42
    
Thanks. I think we will just write a script by ourselves, as soon as we have some time. And maybe release it publicly on github after, given the current available options... –  Qualcuno Apr 1 '12 at 23:17

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