10-second Fix: Block Your Referer to Keep Alexa Graphs Working on Statsaholic and Everywhere Else

[UPDATE - March 31: Alexa has modified their graph images so that if you turn off your referer headers as described here, you will see only the first domain in your list, even on their own site. This effectively prevents users who choose to conceal referers for privacy or any other reason from seeing the full functionality of their graphs. As more and more companies open up their systems to promote widespread use, Alexa seems to be doing all they can to close theirs down.]

It appears that Alexa has shut off their traffic graphs on all the websites of the world, with the exception of their own, Alexa.com. The sadly ironic part of this is that they’ve apparently broken their own widgets, too — all in an effort to shut down Statsaholic.

If you’re tired of seeing white boxes where the pretty graphs used to be, and you’d like to remedy the situation, all it takes is Firefox and a quick, easy, 10-second fix. Here’s what you do:

  1. Make sure you’re using Firefox v2 (this may work with Firefox v1, but I haven’t tested)
  2. Type “about:config” in the address (url) field, and hit Enter
  3. Find the “network.http.sendRefererHeader” property by typing “refer” into the Filter: field
  4. Double-click that property, and set its integer value to “0” in the prompt.
  5. You’re done! Go back to Statsaholic and see the graphs in all their glory.

Note: keeping the referer header turned off in your browser may have some unintended side effects on certain websites. If anyone can think of why you shouldn’t just leave off referers, which makes your web browsing habits more private to every website by preventing the site from knowing where you came from, let me know in the comments here. If you’re concerned about having the referers off, simply turn them back on when leaving Statsaholic — it takes only a moment to turn them off or on once you get the hang of it.

45 Comments to “10-second Fix: Block Your Referer to Keep Alexa Graphs Working on Statsaholic and Everywhere Else”

  1. William says:

    Thanks for keeping this site up. Its such a great tool for us webmasters.

  2. Eric D says:

    Hmm - compete.com does not work either (well the graphs do not show up) - does that mean Compete.com uses alexa.com? Are they competing? hmmm.

  3. Eugene says:

    To do the same thing in Opera 9.10:

    1.) Click on Tools -> Preferences in the menu
    2.) Click on the Advanced tab
    3.) Select the Network option
    4.) Uncheck “Enable referrer logging”

    Do a hard refresh of the Statsaholic graph (Ctrl + F5) and you should be good to go.

  4. steve apel says:

    A lot of sites, for better or worse, depend on referrers. For less of a global change, install the refcontrol firefox extension.
    + Once installed, right click where the chart should be
    + Select RefControl Options For Images’s site…
    + Click Custom and enter the value: alexa.com
    + Reload

    That’s it. Should work anywhere an alexa chart is displayed!

  5. Erik Kalviainen says:

    Nice post. I think I would prefer an extension that made it easy to toggle this on and off. The referrer information is valuable to webmasters. Users might not care about that, but when you’re running a website, the referrer data is valuable and can help improve your site. That, in turn, benefits the end user.

  6. Don says:

    Thanks for the tip!

  7. Ian says:

    Hey, I see that alexa is trying there hardest to stop your site….Idk why : ( I feel bad that your site is having to overcome these obstacles, I hope it works out good I love your site.

  8. Are Your Alexa Ranks Gone? Here’s Why (and how to fix it) at Bob Meets World says:

    [...] is what I found and yes, it seems to hold a solution [...]

  9. IE User says:

    Hi! Do you have any fix for IE v.6 user? Thanks :)

  10. http://thelogohomepage.com/blog » Blog Archive » Keep Alexa Graph working with some Browser fixing-FireFox and Opera 9.10 says:

    [...] you still want to see the beautiful graphs on thelogohomepage or any other website, Ron Hornbaker has just written a great tip on how to counter the alexa action with firefox tweaking: 1. Make sure [...]

  11. Ant says:

    Can’t you use php’s curl function to grab the graph ?

  12. Kevin Ballard says:

    There are websites which do things like block images unless the Referrer matches their site - this is to combat people leeching their bandwidth by linking directly to images. If you don’t send a referrer, then you won’t be able to see these images.

    That said, the sites that do this are in the extreme minority.

  13. MixedBlog says:

    I’d be pleased if anyone can tell my why Alexas stats are relavant at all!?

  14. Chris says:

    Even faster in Opera is to hit F12 and uncheck Enable referer logging. Then, just as quick to turn it back on.

  15. Scott says:

    I can use compete.com with no problem.

  16. mark says:

    Thanks. That was a quick fix! :)

  17. No Thanks says:

    Check out the Web Developer toolbar for Firefox. It has a simple on-off for disabling referrer, as well as a whole host of other useful features. Other features include: Disabling cache, managing cookies, disabling images, inspecting forms, converting POSTs to GETs, viewing response headers, editing CSS on the fly, etc.

    https://addons.mozilla.org/en-US/firefox/addon/60

    That said, it’s probably not a fully featured for referrer management as refcontrol.

  18. Darren says:

    Using the there is an option to “Disable Referrers” which you can toggle on and off.

  19. Xonnus says:

    You can control what gets sent as the HTTP Referrer on a per-site basis using the Firefox extension called RefControl at http://www.stardrifter.org/refcontrol/

    Using this extension you can block only referrers being sent to Alexa if you wish.

  20. Jonathan says:

    Using something like refcontrol (see above) is FAR better for the happiness of the Web. Yes, you can make yourself less trackable and screw over service providers who you disagree with, but I wouldn’t be able to build to amazingly cool things I’m building without referrer URLs — either we couldn’t reliably deliver content to other web sites for you or we couldn’t stay in business, or both.

    If you don’t like a company’s change in policy, raise a PR ruckus. Don’t screw us all over.

  21. Mojo says:

    NO WAY! i want the WWW to know i am using either Firefox, SeaMonkey or Opera on Linux, buried as a stupid idea = Lame…

    P.S. fsck Alexa, i don’t give a damn what they think anyway…

  22. Walt says:

    Referrers are used by many web sites to prevent image leeching.

  23. Eric says:

    Good fix.

  24. Aubrey says:

    Is there anyway we can turn it off just for Alexa?

  25. fh says:

    -> Mojo:

    HTTP/Referrer is the data about the referring site to a particular resource. What you’re thinking about is HTTP/UserAgent, which sends information about the browser and client.

    I also second the use of RefControl FF extension.

  26. Kim says:

    There is a mozilla extension called “prefbar” that works in firefox and has a customizable tool bar and you can add a checkbox to send referrer or not.

  27. Links dot Zigzo says:

    Why dont they understand the more they open things up the more people will use their services and FREELY publicize it for them.

  28. Alan Pope says:

    One negative side effect of switching off referrers in the browser is that some porn sites will no longer function. Many use the http referrer to determine where you came from. If you didn’t come from a “partner” site then you get no porn.

    Apparently.

  29. Debaser says:

    Relying on Alexa for web site traffic data is like getting legal advice from a pool of jurors. The data comes from ad-ware-like browser toolbars, installed by people either too dumb or too naive to understand the implications of a commercial product monitoring their browsing habits.

    If someone wants to surrender his or her privacy in this regard, fine, that’s their decision, vaya con dios, etc. But don’t you webmasters expect for a minute that the majority of your target audience feels this way. The integrity of the data (particularly when its monetized) is innately jeopardized and cannot possibly be used as an accurate gauge of web traffic.

    Is there an ad-free and/or open-source initiative that is working towards the same goal? If not, then there should be. Yes, it’s the same problem of expecting people to surrender their privacy, but there would at least be a modicum of legitimacy in its favor which would entice more savvy users, and you sure as hell wouldn’t have the kind of problem you’re seeing right here regarding Statsaholic.

  30. Cyberpass says:

    Some websites need the Referrer tag to be there so you can gain access…albeit they are usually really cheap porn sites which are fun and easy to hack(see /windows/drivers/etc/hosts and you get the idea)

  31. Fecal Extrusion says:

    - IE User says:
    - Hi! Do you have any fix for IE v.6 user? Thanks

    The best fix for IE 6 is “INSTALLING FIREFOX”!

  32. FireFox Hacker - Statsaholic Fix says:

    [...] to ronhornbaker.com for publishing this [...]

  33. cymbol says:

    newegg.com requires referrers to be active within its own site for order placement and checkout to function properly. This panacea is mis-advertised.

  34. CB says:

    One important thing to say is that breaks many web applications that depends on the HTTP_REFERER varible. One of them is Typo3 Content Management System, it hates this.

    CB

  35. si says:

    Looks like they got wise to this. Even with the referrer info switched off in Opera the graphs don’t appear anymore…

  36. Neil Sanderson / Rights of data owners in a mashed-up world says:

    [...] meanwhile, has posted instructions on how to get around the Alexa ban, at least for users of the Firefox browser. These icons link [...]

  37. si says:

    Note on the 31-March update…

    at least for me, it appears to make no difference if referrals are switched on or off…

    For Opera anyway, only the first domain in the list is shown in either state. Internet Explorer also only shows the first domain.

  38. Dan says:

    I agree with si, I have referers set back to what it was (”2″) and it still shows one domain only.

  39. Don says:

    What si said.

  40. Jon says:

    I agree with other posters, there should be a complete open source solution to this problem. Get firefox on board, give users the choice to opt in and start building up a separate independant set of data.

  41. Motorcycle Guy says:

    I like compete.com better than statsaholic anyway.

  42. Thor Schrock says:

    Thanks for the great tip!

  43. fastfreddie1959 says:

    This tool is da bomb.
    Im just an end-user and this tool does the job.
    Thank you for sharing it.

  44. JustMe says:

    It gets so tiring, hearing the defenses for all the blatant snooping & surveillance & privacy violations that occur online!

    Thanks for publishing this easy-fix to shut off referrers in Firefox, but it would also be useful if you’d include other ways to tighten up security & privacy in the various browsers.

    Good luck!

  45. shirish says:

    I needed this fix as ff3 has rendered refcontrol disabled :(

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>