Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By saitfainder

Thread: How to reset page's visit counter back to 0?

  1. #1
    Guest

    Question How to reset page's visit counter back to 0?

    I am using the page visit counter like this:

    Code:
    $s .= '<script type="text/javascript">var counter_style = 25;var lang = \'en\';</script>' . "\n";
      $s .= '<script type="text/javascript" src="http://tl.altervista.org/js/contatore.js"></script>' . "\n";
    
      echo $s;
    Is there a way to reset the counter back to 0?

    Is there a way to make the counter ignore my own visits to my pages?

    thanks much!

  2. #2
    saitfainder's Avatar
    saitfainder is offline AlterVista Staff
    Join Date
    Feb 2010
    Posts
    300

    Default

    No, you cannot reset the counter and it does not distinguish between you and other visitors.

    But since you've wrote a PHP script to get the code on your page you can set a condition to don't display the counter to you.

    Anyway the counter is just a fun tool, don't rely on it to analyze your site's traffic.
    lmurphy likes this.
    "Over thinking, over analyzing separates the body from the mind."

  3. #3
    Guest

    Default

    saitfainder,

    Okay, thanks for the quick response. I 'liked' your answer - I would mark it as the answer, but I don't see a way to do that here.

    By the way, since you mentioned it, does Altervista have tool(s) to analyze my site's traffic? How do I find them and use them?

    -LMurphy

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO