StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > StatCounter.com > Help

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 06-01-2007, 08:36 PM
pete_b pete_b is offline
Member
 
Join Date: Aug 2006
Posts: 43
Default why is statcounter showing message on page load?

Why does statcounter show a silly message while the page is loading? Think it says something like 'statcounter - free website counters'. I don't see the point, you see it for half a second and it looks really unprofessional. Is there any way i could hide it, as sometimes it doesn't disappear.

Also, am i allowed to edit the code? I want to remove the link in the noscript tags, but that doesn't matter and i doubt i'll be allowed anyway.

Peter
  #2  
Old 06-01-2007, 08:41 PM
rotarysteve rotarysteve is offline
Master Member
 
Join Date: Aug 2005
Location: Ohio
Posts: 1,713
Default

Quote:
Originally Posted by pete_b View Post
Why does statcounter show a silly message while the page is loading? Think it says something like 'statcounter - free website counters'. I don't see the point, you see it for half a second and it looks really unprofessional. Is there any way i could hide it, as sometimes it doesn't disappear.

Also, am i allowed to edit the code? I want to remove the link in the noscript tags, but that doesn't matter and i doubt i'll be allowed anyway.

Peter
That message should go away fairly soon, if it hasn't already. I think some statcounter projects had some problems today, I know my site did, but it has cleared up now. The reason you see the text is SC wasn't returning images and you get the alternate text instead. For editing the code, I would recommend not doing so.
  #3  
Old 06-01-2007, 08:51 PM
Arne's Avatar
Arne Arne is offline
Moderator
 
Join Date: Sep 2004
Location: Lulea, Sweden
Posts: 5,466
Default

And removing the link between <noscript></noscript> will not make any difference to 90+ per cent of your visitors. That part is seen only by visitors that has browsers without Javascript support, or have disabled Javascript.
  #4  
Old 06-01-2007, 08:58 PM
pete_b pete_b is offline
Member
 
Join Date: Aug 2006
Posts: 43
Default 123

Yeh i know what it does
  #5  
Old 06-01-2007, 09:07 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,177
Default

You cn remove the noscript tag - all that will happen is javascript disabled visitros (including robots) will not be logged.

This is not what's causing the alt text to be shown for you now.

It comes from the actual Statcounter script which is trying to connect to the server which has your project on it, and that't not responding fast enough, thus you see the image placeholder.

One option to avoid seeing the alt text would be to use the code for invisible, which adds this to the first javascript:

var sc_invisible = 1;
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
  #6  
Old 06-01-2007, 09:12 PM
pete_b pete_b is offline
Member
 
Join Date: Aug 2006
Posts: 43
Default

It's already got that variable
  #7  
Old 06-01-2007, 09:16 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,177
Default

What's the url to your site?
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
  #8  
Old 06-01-2007, 09:17 PM
rotarysteve rotarysteve is offline
Master Member
 
Join Date: Aug 2005
Location: Ohio
Posts: 1,713
Default

both the visible and invisible versions of the code have the image tag in it, so I think that is why you still got the alt text.
  #9  
Old 06-01-2007, 09:41 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,177
Default

Hmm, yes, as far as the noscript goes.

But the remote javascript uses this:

Quote:
if(window.sc_invisible==1) {
sc_img = new Image();
sc_img.src = sc_tracking_url;
}
else {
document.writeln(sc_link_back_start+"<IMG SRC=\""+sc_tracking_url+"\" ALT=\"StatCounter - Free Web Tracker and Counter\" BORDER=\"0\">"+sc_link_back_end);
}

So if the variable sc_invisible is set to 1 (i.e. true) then the image will not be displayed through an img tag, and there is no alt text.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
  #10  
Old 06-01-2007, 09:48 PM
rotarysteve rotarysteve is offline
Master Member
 
Join Date: Aug 2005
Location: Ohio
Posts: 1,713
Default

I'm following you on that, lol, that makes sense .

Though I wonder if there was a connectivity/server issue, and the external JS file didn't load either, then would that alt text show??
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:59 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.