alexa-traffic-rank

1.0.1 • Public • Published

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

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

Package Sidebar

Install

npm i alexa-traffic-rank

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • imvinaypandya