Ask Leo! by Leo A. Notenboom

Can I track what links people are clicking on, even if they go off my site?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Web

Summary: It's often very desirable to see what links people are clicking on. Redirection services can often provide that information.

Can I track what links people are clicking on, even if they go off my site?

You bet!

There are a class of services on the web that were originally intended to provide a way to replace an excessively long URL (Amazon.com book references are infamous for this) with a much shorter one. They do this by providing a redirection service ... you give the service a URL, and you get a token back. Then instead of linking to, or telling people about, the huge unreadable URL you started with, you give them a link to the service that includes the token. The user ends up at the same place as the big long ugly URL, without having to have even seen it, much less type it in.

Why am I talking about redirection when the question was about link tracking? Because some of these services will give you exactly what you're asking for - detailed reporting of the traffic going through those links of yours.

Newsletter publishers, by the way, get another benefit. Should the target of your link change, you've previously not had a way to correct all the now-broken links you've emailed out. Not so any more - simply go to the redirection service, and update the old token to it's new link, and everything is working once again.

If you're curious how this works, or if like me, you're a do-it-yourself kinda person, you can have a look at a simple CGI script that handles redirection - redir.pl. You'll have to add your own reporting and such, but it could be educational, and perhaps even useful in many instances.

Article C1830 - August 15, 2003

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Recent Comments
0 Comments

Post a comment on "Can I track what links people are clicking on, even if they go off my site?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!