Jump to content

I Added A Free Visit Counter To My Website


Loaded

Recommended Posts

Hi

I copied this script from a-counters dot com free download and it allows my site to count visits and it also gives visitors the opportunity to send an email to friends recommending the site.

I'm a little concerned that:

1. The script will do stuff I don't want. spy, sabotage, get me banned from google search results etc.

2. How will search spiders view the java script? I heard somewhere the google search spider doesn't like reading java.

3. The info. page that gives details of my visitors also displays 'recommended sites' that all seem to be porn sites (my site is not porn nor risque in any way)

Your comments would be very helpful.

<a href=http://www.a-counters.com/estadisticas1060000003.htm>

<script type="text/javascript" language="JavaScript">

<!--

document.write("<img src=\"http://www.a-counters.com/cgi-bin/contador.cgi?ID=1060000003");

document.write("&referer=");

document.write(escape(document.referrer));

document.write("\" border=0 alt=\"Statistics\">");

// -->

</script><noscript><img src=http://www.a-counters.com/cgi-bin/contador.cgi?ID=1060000003 border=0 alt="Statistcs"></noscript></a>

<script type="text/javascript" language="JavaScript">

<!--

function AbreVentana() {

window.open("http://www.a-counters.com/formemail.php3?ID=1060000003","","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizabl'>http://www.a-counters.com/formemail.php3?ID=1060000003","","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizabl

=0,width=268,height=250");

}

document.write("<a HREF='java script:AbreVentana()'>Advise this page to a friend</a>");

// -->

</script>

<noscript>

<a HREF="http://www.a-counters.com/formemail.php3?ID=1060000003" target=_blank>Advise this page to a friend</a>

</noscript>

Edited by Loaded
Link to comment
Share on other sites

All what it does it tell "www.a-counters.com" the last place you visited before visiting your site - this is retrived from the "document.referrer" property. Not sure if this is against the rules in Google's eyes. Can't see why it would be though.

The second bit of the code simply produces a popup window when the function is called. Again, pretty harmless stuff.

Spiders read javascript, but unlike your browser, they don't execute it - no reason for them to.

Link to comment
Share on other sites

the java script itself will not affect google or spiders, they will just ignore it. If u think yr visitors are being directed to porn sites, do u think u should just continue using it??

there r millions of other, free web counters u can use, that will guarantee no spyware etc.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...