Webtips

Simple Way to Add Alexa Widget on Your Website

add-alexa-widget-website
In brief
You can display your Alexa rank on your website by adding a small JavaScript snippet directly to your webpage, no plugins required. Simply place the code where you want the rank to appear and replace the placeholder domain with your own site URL.

Bloggers used to add Alexa widget on their website to display the page rank. There are so many plugins available especially for WordPress to show the Alexa rank. However actually we don’t need any additional plugin for that. We can enable it by adding a simple and small JavaScript on the webpage.

Add the following code where ever you need to show the rank on your website:

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

alexa-rank-only

Just replace yoursite.com with your domain name in the above code. This will display the website rank only.

(Also see: Alexa Ranking No Longer Offers Free Services)

In order to display rank with the back-link count use the below code.

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

alexa-rank-link

Here also replace yoursite.com with your domain name.

7 Comments

  1. bhanu pratap

    Good information.

  2. Sneha Reddy

    Its very simple and Good Article Thank you for sharing Us.,

  3. jagadeesh

    best article with nice information thank you

  4. Aws

    Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

  5. jothikumar

    This is a nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all the points you have given to us. I will follow all of them.

  6. bonus poker idn

    Hello would you mind letting me know which web host you’re
    using? I’ve loaded your blog in 3 completely different internet browsers and I must say this blog loads a lot faster then most.
    Can you suggest a good internet hosting provider at
    a reasonable price? Kudos, I appreciate it!

Leave a Comment