Counter.js Failing

Discussion in 'Bugs' started by samerrill, Mar 4, 2017.

  1. samerrill

    samerrill New Member

    Joined:
    Mar 4, 2017
    Messages:
    5
    Likes Received:
    0
    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 -->
     
  2. samerrill

    samerrill New Member

    Joined:
    Mar 4, 2017
    Messages:
    5
    Likes Received:
    0
    A temporary solution was to switch from the "Standard Code" to the "Basic Code".
     
  3. webado

    webado Moderator

    Joined:
    Apr 29, 2004
    Messages:
    28,159
    Likes Received:
    1
    Did you add the code to the end of your markup just before the </body> tag?
     
  4. samerrill

    samerrill New Member

    Joined:
    Mar 4, 2017
    Messages:
    5
    Likes Received:
    0
  5. webado

    webado Moderator

    Joined:
    Apr 29, 2004
    Messages:
    28,159
    Likes Received:
    1
    I just clicked that and it responded instantly.
    Maybe there are issues with your ISP's connectivity to Statcounter's servers.
     

Share This Page