WordPress.org

Forums

[resolved] How do I hide my counter?? (7 posts)

  1. hmnikatz
    Member
    Posted 8 years ago #

    I dont want people/advertisers to see how much traffic I am getting.

    I have a counter on the bottom of my page at http://www.sternshowclips.com

    It's a gostats.com counter. How can I hide it? But I also still want to be able to unhide it sometimes so that I can see the traffic.

    Here is my counter code, what do I need to hide it?

    <!-- GoStats.com -->
    <script type="text/javascript"><!--//--><![CDATA[//><!--
    var go_aid=401203;
    var go_cid=4;
    var go_iid=1;
    var go_z='';
    var go_serv='monster.gostats.com';
    var go_cw=0;
    var go_ch=0;
    var go_js="1.0";
    var go_r=Math.random()+"&a="+go_aid+"&t="+go_cid+"&i="+
    go_iid+"&r="+
    escape(document.referrer)+"&p="+escape(window.location.href);
    document.cookie="gostats=1; path=/";
    go_r+="&c="+(document.cookie?"y":"n");
    //--><!]]></script>
    <script type="text/javascript" language="javascript1.1"><!--//--><![CDATA[//><!--
    go_js="1.1";
    go_r+="&j="+(navigator.javaEnabled()?"y":"n");
    //--><!]]></script>
    <script type="text/javascript" language="javascript1.2"><!--//--><![CDATA[//><!--
    go_js="1.2";
    go_r+="&w="+screen.width+"&h="+screen.height+"&d="+
    (((navigator.appName.substring(0,3)=="Mic"))?screen.colorDepth:screen.pixelDepth);
    //--><!]]></script>
    <script type="text/javascript" language="javascript1.3"><!--//--><![CDATA[//><!--
    go_js="1.3";
    //--><!]]></script>
    <script type="text/javascript" src="http://monster.gostats.com/js/count4.js?id=401203"></script>
    <noscript><div><img
    src="http://monster.gostats.com/bin/count?a=401203&t=4&i=1&z="
    style="border-width:0px" alt="GoStats hit counter" />

    <a style="font-size: 9px" href="http://gostats.com"
    title="GoStats hit counter"></div></noscript>
    <!-- GoStats.com -->

    Is there a better counter out there, this just shows how many people load the page, are there ones that do more?

    Thanks in advance!

  2. Class
    Member
    Posted 8 years ago #

    Have you tried Google Analytics?

  3. hmnikatz
    Member
    Posted 8 years ago #

    I will try it now.....

    I still want to keep the current counter, I just want to hide it....anyone?

  4. Class
    Member
    Posted 8 years ago #

    If you just want to hide the image you can style it or set its size to 1px.

  5. hmnikatz
    Member
    Posted 8 years ago #

    I dont know what you mean, could you copy and past the code I gave with the modifications, thanks.

  6. Around the whole bit of code, add this:

    <div style="display:none">
    ... your code ...
    </div>

    This is probably the simplest and safest way to do that. The scripts and such will still run, but nothing will show up.

  7. hmnikatz
    Member
    Posted 8 years ago #

    Otto, you are the man/woman...thanks for your help in this and the other help you gave me, you solved the problem.

    Maybe you can help with my other questiosn...

    http://wordpress.org/support/topic/108271?replies=1#post-524869

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags