Thread: Hit Counter

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Default Hit Counter

    I am after the best place to insert a hit counter (not Zens)
    One that gives much more detailed information, I have a code from http://sv1.webvisitor.info/Members/default.aspx

    its an invisible one so that helps a bit.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Hit Counter

    you would put it in the tpl_footer.php
    located in the common folder of your template,

    if your after more than a hit counter take a look at this
    http://soft.zoneo.net/phpTrafficA/
    Zen cart PCI compliant Hosting

  3. #3

    Default Re: Hit Counter

    Hi

    Thanks for that

    My memory is going

  4. #4
    Join Date
    Oct 2007
    Location
    Atlanta, GA
    Posts
    79
    Plugin Contributions
    0

    Default Re: Hit Counter

    I'd like to use StatCounter, but their installation instructions read, "insert the StatCounter code anywhere between the <body> and </body> tags".

    But I don't see body tags in the tpl_footer.php code.

    Where should I put it? At the very end?

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Hit Counter

    If possible, get a Google Analytics account, it's simply the best.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Oct 2007
    Location
    Atlanta, GA
    Posts
    79
    Plugin Contributions
    0

    Default Re: Hit Counter

    Thanks for the tip! I signed up for an account, but I still have the same problem of where to place the code in the tpl_footer.php file since there is no body tag.

    I guess I'll just put it at the bottom of the code and see if that works ......

  7. #7
    Join Date
    Oct 2007
    Location
    Atlanta, GA
    Posts
    79
    Plugin Contributions
    0

    Default Re: Hit Counter

    For anybody else who comes along with the same question as me, I placed it at the end of the code and it works. Also I decided to stick with StatCounter because it tracks in real time whereas it appears that Google Analytics takes 24 hours to update. I'm impatient.

  8. #8
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Hit Counter

    Just for your information, those things can slow down your site, so I would just use either one.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #9
    Join Date
    May 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Hit Counter

    I just added statcounter code to my site. I know it can slow it down a bit, but I think its worth it.
    If anyone was having problems finding the tpl_footer.php file, I found it in
    includes\templates\template_default\common
    Dan

  10. #10
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Hit Counter

    I'm trying out StatCounter too. I put the StatCounter code on the footer.php but it looks like it logs only the homepage stats. Which files do I have to add the code to to get stats on all pages?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Hit counter
    By Kevin205 in forum General Questions
    Replies: 1
    Last Post: 21 May 2013, 11:11 PM

Posting Permissions

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