Pligg CMS Forums


Go Back   Pligg CMS Forum > Other > Off-topic



Alexa & SearchStatus

Talk about anything you want but keep it clean and work safe.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-28-2007, 09:31 AM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Alexa & SearchStatus

This is a fork off from the initial thread called is Digg Dying. It was rumoured that the alexa widget could affect alexa rankings. I'm dubious about this claim, but it did get me thinking.

Searchstatus is an FF extension for viewing alexa ranking, google pagerank, and website backlinks. Even though the author's site says it doesn't, this extension does affect alexa ranking. I can say this because if you install the plugin, work heavily on a new site (with not much alexa traffic) for a few days, then view the alexa ranking, you will notice a large surge in ranking from your country of residence. Example here.

So, how does searchstatus transmit the info that affects rankings? After opening up the extension, you'll find a number of javascript files at the core. The main one is named searchstatus.js - and this is the file where things happen.

I've attached the file below, and also outlined the code I think *may* transmit the info (although it is a guess). Does anyone who is better versed in javascript want to have a look at the file to see where it might happen? If we pin it down, we should theoretically be able to use it on our own sites, to get proper data via alexa.

At least, that's my own thinking. Could be wrong!

Code:
var encodedUrl = ssUrlEncode( url );
var querystring = this.isAnonymize() ? "http://www.anonymization.org/-" : "http://";
querystring += "xml.alexa.com/data?cli=10&dat=nsa&ver=quirk-searchstatus&uid=" + this.mInstallDate + "&userip=" + this.mLocalIP + "&url=" + encodedUrl;
if( querystring != this.mAlexaQuerystring ) {
    debugss( "asking alexa..." );
    this.mAlexaRequest = new XMLHttpRequest();
    this.mAlexaRequest.onload = onAlexaRequestLoad;
    this.mAlexaRequest.open( "GET", querystring );
    this.mAlexaRequest.send( null );
    this.mAlexaQuerystring = querystring;
}
Attached Files
File Type: zip searchstatus.zip (11.2 KB, 24 views)
Reply With Quote
Sponsor
  #2 (permalink)  
Old 07-28-2007, 11:26 AM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: Shredit
 
Join Date: Jun 2006
Location: PA
Posts: 3,392
Hi simon

it looks as though alexa is called a few times in searchstatus.js

the first is here..
Code:
this.initAlexaFromDoc( -1 );
  			var encodedUrl = ssUrlEncode( url );
  			var querystring = this.isAnonymize() ? "http://www.anonymization.org/-" : "http://";
  			//querystring += "http://data.alexa.com/data/+wQ411en8000lA?cli=10&dat=snba&ver=7.0&cdt=alx_vw%3D20%26wid%3D12206%26act%3D00000000000%26ss%3D1680x1050%26bw%3D964%26t%3D0%26ttl%3D35371%26vis%3D1%26rq%3D4&url=" + encodedUrl;
				//querystring += "aws-beta.amazon.com/onca/xml?Service=AlexaWebInfoService&SubscriptionId=1ASYC6ZNPG2STTW2TXG2&Operation=UrlInfo&ResponseGroup=Rank,Related,ContactInfo&Uip=" + this.mLocalIP + "&Uid=" + this.mInstallDate + "&Url=" + encodedUrl;
				querystring += "xml.alexa.com/data?cli=10&dat=nsa&ver=quirk-searchstatus&uid=" + this.mInstallDate + "&userip=" + this.mLocalIP + "&url=" + encodedUrl;
And the next is here

Code:
var currdomain = this.mAlexaLastURL.replace( /http:\/\/(.+?)\/.*$/gi, "$1" );
  	var querystring = "http://www.alexa.com/data/ds/linksin?q=" + ssUrlEncode( "link:" + currdomain ) + "&url=" + ssUrlEncode( this.mAlexaLastURL );
  	
  	item.value = querystring;
  	ssOpenItemUrl( item );
  },
  
  showAlexaOverview: function( item )
  {										
  	var currdomain = this.mAlexaLastURL.replace( /http:\/\/(.+?)\/.*$/gi, "$1" );
  	var querystring = "http://www.alexa.com/data/details/main?q=&url=" + ssUrlEncode( currdomain );
  	
  	item.value = querystring;
  	ssOpenItemUrl( item );
  },
  
  showAlexaTrafficDetails: function( item )
  {
  	var currdomain = this.mAlexaLastURL.replace( /http:\/\/(.+?)\/.*$/gi, "$1" );
  	var querystring = "http://www.alexa.com/data/details/traffic_details?q=&url=" + ssUrlEncode( currdomain );
  	
  	item.value = querystring;
  	ssOpenItemUrl( item );
  },
  

  showAlexaCategory: function( item )
  {
  	var cat = item.getAttribute( "tooltiptext" );
  	if( cat )
  	{
  		var link = "http://www.alexa.com/browse_redirect?catpath=" + cat;
  		ssOpenUrl( link );
Hope that helps


Thank this developer

Get the Pligg 1.0 Module Pack and more ---> download here




Reply With Quote
  #3 (permalink)  
Old 07-28-2007, 12:49 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
That's true, but I wouldn't have thought that all those calls actually transmit information to alexa, would they? That would mean that every time you called a details page on the alexa site, it would count as a hit.

I don't know enough to know what triggers a hit unfortunately.
Reply With Quote
  #4 (permalink)  
Old 07-29-2007, 10:58 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: Shredit
 
Join Date: Jun 2006
Location: PA
Posts: 3,392
Simon,

This is a complete guess, but I'm assuming the information is transmitted though the first call
xml.alexa.com/data bla bla bla


Thank this developer

Get the Pligg 1.0 Module Pack and more ---> download here




Reply With Quote
  #5 (permalink)  
Old 08-01-2007, 01:18 AM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: Shredit
 
Join Date: Jun 2006
Location: PA
Posts: 3,392
I was wrong in my post above.. but .... I think I did find out how to report to alexa although you will need to modify pliggs navigation bar slightly.

Instead of using mydomain.com in your pligg navigation try using
Code:
http://redirect.alexa.com/redirect?{$my_base_url}{$my_pligg_base}
This should push every URL through alexa and record the pageviews.

Another neat thing is that you can use this when posting your link elsewhere where the URL is not shown.. For example: in my signature below check out the scooptube link.

I'm currently testing this out and will let you know the results.


Thank this developer

Get the Pligg 1.0 Module Pack and more ---> download here




Reply With Quote
  #6 (permalink)  
Old 08-01-2007, 01:51 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 2,157
Wow, great findings - subscribing to this thread and will keep an eye on the progress.
Reply With Quote
  #7 (permalink)  
Old 08-26-2007, 10:12 PM
nzbullet's Avatar
Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 133
When you say "you will need to modify pliggs navigation bar slightly" where exactly do you do this. I am using 9.7. Also will this improve your Alexa ranking?
Reply With Quote
  #8 (permalink)  
Old 08-27-2007, 10:46 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 44
Smile Ranking

Quote:
Originally Posted by chuckroast View Post
I was wrong in my post above.. but .... I think I did find out how to report to alexa although you will need to modify pliggs navigation bar slightly.

Instead of using mydomain.com in your pligg navigation try using
Code:
http://redirect.alexa.com/redirect?{$my_base_url}{$my_pligg_base}
This should push every URL through alexa and record the pageviews.

Another neat thing is that you can use this when posting your link elsewhere where the URL is not shown.. For example: in my signature below check out the scooptube link.

I'm currently testing this out and will let you know the results.
Excellent Idea, However so far as my little knowledge goes, Google does not like redirections. While your ranking may improve in Alexa, Google ranking may come down.

This is just a thought... Please correct me if I am wrong.
Reply With Quote
  #9 (permalink)  
Old 08-27-2007, 03:55 PM
New Pligger
 
Join Date: Aug 2007
Posts: 15
Tricks and smoke and mirrors

Why fake it with such redirects? I know almost everyone who talks about Alexa is hip to doing it, but what happens when Alexa changes their programming, then you see your site look like it's dying.
Why do all of that at all? I think it's more fun to make your site an excelent one and like that old saying - If you build it they will come', I think it's true.

Our little site is starting to spike big time, more people come to the site than Alexa says I think but the Alexa is also getting bigger. In fact a weird thing - when I posted here Alexa rank jumped from all of the webmasters that visot the site.

Mike
http://www.earthfrisk.com - Social Bookmarking And Social Media
Reply With Quote
  #10 (permalink)  
Old 02-28-2009, 07:23 PM
New Pligger
 
Join Date: Feb 2009
Location: Breckenridge Colorado
Posts: 1
Hi, I enjoyed using this tool for Firefox, but with the last update the function “Show Backward Links” was changed, for example with previous version links in Yahoo looked like this:
1) linkdomain:example.com -site:example.com - Yahoo! Search Results

and now they look like this:
2) Site Explorer - Search Results

Can you please let me know what I should do so the links look like in option 1?
Thanks

Breckenridge
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alexa & Google Rank #5 3dKiller My Pligg Site 36 10-27-2008 06:21 AM
Recent Alexa Change for rankings bbrian017 My Pligg Site 12 05-21-2008 03:21 PM
Alexa Rankings Seem Fake to Me lodispoto My Pligg Site 10 11-11-2007 10:54 PM
Alexa & Pagerank #4 3dKiller My Pligg Site 5 11-02-2007 04:28 AM
Alexa & Pagerank Ratings 3dKiller My Pligg Site 17 05-31-2006 08:23 PM

Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Use the coupon code PLIGG at Dreamhost.com to receive a discount of up to $84.00 Make a donation to support Pligg CMS development