Twitter's t.co uses meta tags and JS instead of 301 Redirects to Mask Referrers
getclicky.com
getclicky.com
< HTTP/1.1 301 Moved Permanently
< Date: Sun, 21 Aug 2011 02:55:16 GMT
< Server: hi
< Location: http://dl.dropbox.com/u/81822/fans.jpg
< Cache-Control: private,max-age=300
< Expires: Sun, 21 Aug 2011 03:00:16 GMT
< Content-Length: 0
< Connection: close
< Content-Type: text/html; charset=UTF-8
<
* Closing connection #0
But with a quite common User-Agent: curl -v http://t.co/emmQt03 -H "User-Agent:Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/11.04 Chromium/14.0.825.0 Chrome/14.0.825.0 Safari/535.1"
< HTTP/1.1 200 OK
< Date: Sun, 21 Aug 2011 02:56:05 GMT
< Server: hi
< Content-Type: text/html; charset=utf-8
< Cache-Control: private,max-age=300
< Expires: Sun, 21 Aug 2011 03:01:05 GMT
< Content-Length: 183
< Vary: Accept-Encoding
< Connection: close
<
* Closing connection #0
<noscript><META http-equiv="refresh" content="0;URL=http://dl.dropbox.com/u/81822/fans.jpg></noscript><script>location.replace(http:\/\/dl.dropbox.com\/u\/81822\/fans.jpg)</script>So if you get a bunch of t.co traffic and you don't want to pay Twitter for statistics, the only way that I've seen that you can understand how you are getting traffic is to search for keywords relevant to your site and hope to find a tweet that includes the t.co link that you saw in your logs. You usually can't even search for the t.co link itself (unless it appears in the text of the tweet.)
Very annoying for people who want to study their server logs without paying extra money, but a great way for Twitter to monetize. (Even if users decide to include a bit.ly link to get free statistics within a tweet, it will still be hard to track down as explained above.)
My previous post was also poorly worded. I have no knowledge over whether t.co statistics will be free or not; only that I don't think there is a free way to get them now; I haven't investigated if there were available paid options. The situation of tracking which tweets are giving you traffic is still poor right now, but it might improve in the future.
Like the author, I personally see t.co in my server logs.
It would be pretty hard for Twitter to remove the referrer altogether (and I'm not sure what the point would be; they should want people to see that they got traffic from Twitter). Just did some research on ways to remove the referrer and found this: http://coding-talk.com/f14/how-to-remove-referral-8570/. At comment #8, they suggest making links via Flash, using https, or using a redirect (which is what t.co is). Users could also do it by configuring their browser to not send along the referrer when they make new requests, but Twitter wouldn't have control over that.)
The downside is that you can't see which twitter URL it came from, but in my experience that was rarely useful as so often it came from users' home pages. And the upside is that it will show a t.co referal for non-web twitter clients, e.g. mobile apps.
Not sure about browser support, but it's implemented in at least WebKit [2].
[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/...
[2] http://www.webkit.org/blog/907/webkit-nightlies-support-html...
It masks the referer header, which protects my privacy without breaking sites that rely on the referer header.
Secondly, and much more importantly, it gets rid of privacy-destroying URL shorteners like bit.ly that give the posters statistics on their tweets.
It might be a tiny annoyance to some developers, but the privacy gains are fantastic.
The proportion of sites with Facebook/Twitter/insert-hot-social-site buttons/widgets on nowadays means that a great deal of people's browsing gets tracked anyway, unless they take precautions against that. Pretty much every blog, startup, news site, etc etc.
The information that would normally go in the referer header would presumably be available via future t.co APIs (although there is some privacy protection there now).
Posters can still use bit.ly links (just not by default); they would actually have a t.co link to a bit.ly link to their actual link. t.co links may offer similar statistics in the future. Twitter is also a private company that can track a large portion of peoples' browsing history.
The flipside of this is that knowing where people have come from is very valuable even in non-invasive ways to business, and in the end that's what the internet is more or less about nowadays. The average web user probably only uses a few things which aren't solely controlled by one vendor - email being a notable one, and probably why Facebook messages will never win in the end if history teaches us anything :-)
Deleted comment