Add Hitstats code to footer

  • adispy

    #8717

    Hi,

    I want to put this code on the footer under the credits, but I’m unsuccessful. Looks like the counter image is not displayed and not reporting traffic. If someone knows how to do this…please.

    <!-- Histats.com  START  (standard)-->
    <script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
    <a href="http://www.histats.com" title="site hit counter"><script type="text/javascript" >
    try {Histats.start(1,MY SITE ID - HIDDEN);
    Histats.track_hits();} catch(err){};
    </script></a>
    <noscript><a href="http://www.histats.com"><img src="http://sstatic1.histats.com/0.gif?MY SITE ID - HIDDEN" alt="site hit counter" /></a></noscript>
    <!-- Histats.com END -->

    Thanks

    Mod

    Kenneth John Odle

    #41975

    Moved to Support.

    Put code in between backtick (

    Code:
    `

    ) characters. It’s usually located above the Tab key on your keyboard.

    I see this on your website. 196 visits today, with 6 online. Did you get it resolved?

    adispy

    #41976

    I put the backtick between < script and noscript > but is still not working; it is actually showing the code instead of what is supposed to do. I tested this by creating a widget. You see that on my site because right now I’m using the Mistique theme, but I’m in the process of migrating to Graphene and all this is happening in a test lab. Any other suggestion ?

    Prasanna SP

    #41977
    Quote:
    I put the backtick between < script and noscript > but is still not working;

    Put the code between backtick characters here in this forum, not in your site.

    adispy

    #41978
    <!-- Histats.com  START  (standard)-->
    <script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
    <a href="http://www.histats.com" title="site hit counter"><script type="text/javascript" >
    try {Histats.start(MY SITE ID - HIDDEN");
    Histats.track_hits();} catch(err){};
    </script></a>
    <noscript><a href="http://www.histats.com"><img src="http://sstatic1.histats.com/0.gif?MY SITE ID - HIDDEN" alt="site hit counter" /></a></noscript>
    <!-- Histats.com END -->

    Hope is OK.

    Mod

    Kenneth John Odle

    #41979

    adispy

    #41980

    I know where it is and I and I did that.

    <!-- Histats.com  START  (standard)-->
    <script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
    <a href="http://www.histats.com" target="_blank" title="site hit counter" ><script type="text/javascript" >
    try {Histats.start(MY SITE ID - HIDDEN");
    Histats.track_hits();} catch(err){};
    </script></a>
    <noscript><a href="http://www.histats.com" target="_blank"><img src="http://sstatic1.histats.com/0.gif?MY SITE ID - HIDDEN" alt="site hit counter" border="0"></a></noscript>
    <!-- Histats.com END -->

    adispy

    #41981

    Not right again ? I put backtick > code > backtick. The second time I put backtick > Enter > code > Enter > backtick.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.