WordPress.org

Ready to get started?Download WordPress

Forums

Counter doesn't show up correctly in WordPress page.... (2 posts)

  1. Guntis
    Member
    Posted 8 years ago #

    I received this counter code:
    <!-- ------------------------------------------------------ //- -->
    <SCRIPT LANGUAGE="JavaScript"><!-- Begin
    jsver = "1.0"; // End --></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript1.1"><!-- Begin
    jsver = "1.1"; // End --></SCRIPT>
    <SCRIPT Language="JavaScript1.2"><!-- Begin
    jsver = "1.2"; // End --></SCRIPT>
    <SCRIPT Language="JavaScript1.3"><!-- Begin
    jsver = "1.3"; // End --></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript"><!-- Begin
    {window.onerror=null; d=document;
    if (window.screen.fontSmoothingEnabled == true) sfont=1;else sfont=0;
    hl=history.length; cd=window.screen.colorDepth; sw=window.screen.width;
    sh=window.screen.height; document.cookie="t=a";c=0;if (document.cookie)c=1;
    ref=escape(d.referrer); if (self != top)fr=1;else fr=0; t=(new Date()).getTimezoneOffset()/60*-1;
    if( parent.window.frames.length ){var i = parent.window.frames.length;var p = 'document.referrer';
    for ( var e = 0; e<i; e++ ){ p = 'parent.window.'+p; }ref = eval( p ); }
    document.write("<img width=88 height=31 border='0' alt='PULS.LV Professional statistical system' src=http://u3.puls.lv/?cid=14188&jsver="+jsver+"&sfont="+sfont+"&hl="+hl+"&cd="+cd+"&sw=");
    document.write(+sw+"&sh="+sh+"&c="+c+"&fr="+fr+"&lang=l&t="+t+"&ref="+ref+">
    ");
    }// End --></SCRIPT>
    <noscript>

    <img src="http://u3.puls.lv/?cid=14188&lang=l" width="88" height="31" alt="PULS.LV Professional statistical system" border="0">

    </noscript>
    <!-- ------------------------------------------------------ //- -->

    Try inserting this code - it shows some bits of the code on the page, and no counter. They insist that my home page code is wrong, because it's commercial counter site and they serve thousands of web sites and none of them has complained, except me...

  2. You may be interested in some of the more easy-to-use statistics plugins:

    http://codex.wordpress.org/Plugins/Statistics

    If you still want to use the code that you have posted, where do you want it to be displayed?

Topic Closed

This topic has been closed to new replies.

About this Topic