No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 4 commits behind imVinayPandya:master.
Latest commit 35181b3 Dec 24, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Dec 24, 2015
index.js some changes Dec 23, 2015
package.json some changes Dec 23, 2015

README.md

alexa-traffic-rank

Alexa traffic rank this is NPM Module, it will helps you to grab site data from alexa.com. you can store this data in your data and collect your own historical alexa rank data for free. for this you do need any api key or any thing else.

to install this module

npm install alexa-traffic-rank

#using this node module you can get

  • Global Rank
  • Country Rank with Country Name
  • Bounce Rate
  • Daily Page View Per Visitor
  • Daily Time on Site

#Usecase of this module: Q: Where you can use this plugin?
Ans: Alexa.com provide free data but it is limited, alexa provides only global rank graph which is 6 month old. using this module daily once you can grab global rank and country rank and other data, you can store this whole data as historycal data in your database. Here is blog post about this trick, you can learn from here how to use this module Alexa Traffic Rank Track Daily with Node js + MongoDB.

#Example:

var alexaData = require('alexa-traffic-rank');
alexaData.AlexaWebData("panduboys.com", function(error, result) {
    console.log(result);
})

output:

{
	globalRank: '206,752',
	countryRank: {
		rank: '21,691',
		country: 'India'
	},
	engagement: {
		bounceRate: '36.50%',
		dailyPageViewPerVisitor: '2.50',
		dailyTimeOnSite: '3:34'
	}
}

Note: if some site is not register with alexa.com than may be you can get less data than listed above. some time if it does not shows listed data in output of your program, than assume that alexa does not have enough data or alexa may not have that data yet.

for example may be possible that you will get all data listed above except Bounce rate that means this site is new for alexa it may take some to display Baounce rate or may be this site is still not registered with alexa.com