$alexaData = simplexml_load_file(“http://data.alexa.com/data?cli=10&url=”.$url);
$alexa[‘globalRank’] = isset($alexaData->SD->POPULARITY) ? $alexaData->SD->POPULARITY->attributes()->TEXT : 0 ;
$alexa[‘CountryRank’] = isset($alexaData->SD->COUNTRY) ? $alexaData->SD->COUNTRY->attributes() : 0 ;
return json_decode(json_encode($alexa), TRUE);
Check Your Site Alexa Rank
$url = $_REQUEST[‘siteinfo’];
$alexa = alexaRank($url);
$globalRank = isset($alexa[‘globalRank’]) ? $alexa[‘globalRank’] : ‘N/A’;
$countryRank = isset($alexa[‘CountryRank’][‘@attributes’][‘RANK’]) ? $alexa[‘CountryRank’][‘@attributes’][‘RANK’] : ‘N/A’;
Your Site Alexa Rank Details
URL: ” .$url. “
Global Alexa Rank: ” .$globalRank. “
Country Rank (“.$alexa[‘CountryRank’][‘@attributes’][‘NAME’].”): ” .$countryRank. “
Do you want to know how your blog or site is performing and whether Alexa Rank is improving or degrading? If it is so, then you have landed on the right page. Our free online Alexa Rank Checker SEO tool let you know your site rank in your country and global rank absolutely free.
Alexa Internet Inc. is a subsidiary internet company of Amazon and provides data related to web traffic. It is a free SEO online tool and let website owners, bloggers, and webmasters know their site’s current position.
Alexa Rank Checker helps you analyze your blog and website by letting you know the rank. It also provides your competitors’ website rank as well and also gives you a clear picture of your site popularity. You can easily compare with other websites and track the performance of your website at any time.