StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > StatCounter.com > Bugs

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2017, 05:58 PM
samerrill samerrill is offline
Junior Member
 
Join Date: Mar 2017
Posts: 5
Default Counter.js Failing

Standard code is failing causing a 25sec delay in loading pages. Inspecting the page load indicates "GET http://www.statcounter.com/counter/counter.js net::ERR_EMPTY_RESPONSE"

Here is the code:
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=10201887;
var sc_invisible=1;
var sc_security="56f80df4";
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="web analytics"
href="http://statcounter.com/" target="_blank"><img
class="statcounter"
src="//c.statcounter.com/10201887/0/56f80df4/1/" alt="web
analytics"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->
Reply With Quote
  #2  
Old 03-06-2017, 01:22 AM
samerrill samerrill is offline
Junior Member
 
Join Date: Mar 2017
Posts: 5
Default

A temporary solution was to switch from the "Standard Code" to the "Basic Code".
Reply With Quote
  #3  
Old 03-06-2017, 09:57 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,099
Default

Did you add the code to the end of your markup just before the </body> tag?
__________________
Christina
>>Forum Moderator<<


Useful Web Tutorials

Please do not PM me for support. The forum is here for that.
Reply With Quote
  #4  
Old 03-07-2017, 05:32 AM
samerrill samerrill is offline
Junior Member
 
Join Date: Mar 2017
Posts: 5
Default

Yes. The code has been on the website for years. The problem appears to be with the http://www.statcounter.com/counter/counter.js not responding.
Reply With Quote
  #5  
Old 03-07-2017, 12:13 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,099
Default

I just clicked that and it responded instantly.
Maybe there are issues with your ISP's connectivity to Statcounter's servers.
__________________
Christina
>>Forum Moderator<<


Useful Web Tutorials

Please do not PM me for support. The forum is here for that.
Reply With Quote
Reply

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 09:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.