How to Add Alexa Widget on Your Blog/Website to Display Website Ranking

Alexa is the most common and popular option to check the popularity and ranking of a website. Most big brands and businesses decides the value of your website based on Alexa ranking. So, it’s a good thing if you place an Alexa widget on your blog or website to display the site ranking.

Add Alexa Widget Using HTML Code

Adding Alexa widget to your WordPress blog or website is the easiest task ever. Even this time you don’t need to install any plugin. In fact, just with a simple HTML code you will be able to display your Alexa ranking to your visitors.

Check out the following HTML code:

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

All you need to replace yourwebsite.com with your website domain and put the whole code at the place on your blog where you want to display your Alexa rank. In case of WordPress, if you want to display Alexa rank in your blog sidebar or footer, just drag and drop the Text Widget to the sidebar or footer and paste the above mentioned code by replacing yourwebsite.com with your website address.

Similarly if you want to show your sites linking too, copy and paste the following code in the text widget by replacing yourwebsite.com to your website URL.

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

Add Alexa Rank Widget

Add Alexa Rank Widget Using WordPress Plugin

In case case you love to use WordPress plugins and want to make the task more easier, you can use a third party WordPress plugin known as Alexa Rank Widget.

All you need to install and activate this plugin and from the Widgets manager (Appearance » Widgets) you can set it to show your website’s Alexa rank very easily, just like the following screenshot.

Alexa widget by plugin

That’s all about displaying the Alexa rank on your WordPress blog or website!

Tags:

Leave a Reply