SumNone.com

Totally Nothing...Do-Dads and Fix-Its For the Web.

NAVIGATION - SEARCH

Code to Add Alexa Widget to Your Website

I found an article that talks about raising your Alexa page rank simply by putting the Alexa widget on your site. However, it appears Alexa doesn't want people doing this any more? Long story short, the Alexa widget link in all those articles is 404 now. So, here is the code:

<a href="http://www.alexa.com/siteinfo/<yoursitehere>">
  <script type="text/javascript" language="JavaScript" src="http://xslt.alexa.com/site_stats/js/s/a?url=<yoursitehere>"></script>
</a>

 

Simply replace the <yoursitehere> (including the brackets) with your domain name and then paste it into your site.

Also, "a" before the "?url" defines the style you want to use. The ones I tried are:

  • a = small square
  • b = vertical rectangle
  • c = horizontal rectangle

I stopped on c, so there might be more.