Alexa retired all the traffic widgets effective from 26 Oct 2016. Hence the below widget codes will not work, this article is left only for reference purpose.
Alexa traffic rank is one of the reputable number for all webmasters for showcasing to others. Though there are differences of opinions about alexa traffic ranking mechanism, it is believed that the rank indicates the overall value of a site. In this article, let us check out how to add alexa traffic widget to your site to show the traffic rank and number of links.
Alexa Traffic Widgets
Alexa offers two types of free widgets for websites:
- Site Info – this is a widget with global traffic rank and links data with or without date.
- Traffic Rank – this is simple traffic rank widget with or without date.
Here we have three styles for two types of widgets totalling to six different widgets.
Site Info Widget 1
The first style of site info alexa widget will show rank and links. Code for the widget is given below and you can replace the domain “webnots.com” with your own domain name.
<a href="https://www.alexa.com/siteinfo/webnots.com">
<script type="text/javascript" src="https://xslt.alexa.com/site_stats/js/s/a?url=webnots.com">
</script>
</a>
Site Info Widget 2
Here is the code for second widget:
<a href="https://www.alexa.com/siteinfo/webnots.com">
<script type="text/javascript" src="https://xslt.alexa.com/site_stats/js/s/b?url=webnots.com">
</script>
</a>
Site Info Widget 3
Code for third widget is given below:
<a href="https://www.alexa.com/siteinfo/webnots.com">
<script type="text/javascript" src="https://xslt.alexa.com/site_stats/js/s/c?url=webnots.com">
</script>
</a>
Traffic Rank Widget 1
The traffic rank widget will only show the traffic rank and date. Code for traffic rank widget is given below:
<a href="https://www.alexa.com/siteinfo/webnots.com">
<script type="text/javascript" src="https://xslt.alexa.com/site_stats/js/t/b?url=webnots.com">
</script>
</a>
Traffic Rank Widget 2
Here is the code for style 2 of traffic rank widget:
<a href="https://www.alexa.com/siteinfo/webnots.com">
<script type="text/javascript" src="https://xslt.alexa.com/site_stats/js/t/c?url=webnots.com">
</script>
</a>
Traffic Rank Widget 3
And here is the code for third style:
<a href="https://www.alexa.com/siteinfo/webnots.com">
<script type="text/javascript" src="https://xslt.alexa.com/site_stats/js/t/a?url=webnots.com">
</script>
</a>
Note:
- Ensure to replace the domain name with your domain name in all codes.
- Only global traffic rank is shown in all the widgets.
9 Comments
Leave your reply.