want to add ip tracking code 'somewehre' (2 posts)

  1. traceywashere
    Posted 9 years ago #

    i never found a good ip tracking module for wordpress -- then i stumbled upon tracewatch, which rocks HARD. anyway .. all it requires is 2 simple lines ... where is a safe place to put these lines??

    initially i added them to index.php, but they didn't seem to be called. then i tried wp-blog-header.php; but i got strange side effects ...

    any suggestions??

    the code i need to add is:

    @include_once $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT'].'/twatch_include/logger.php';


  2. Adam Brown
    Posted 9 years ago #

    I'm not familiar with this particular bit of code, but you could probably stick it into footer.php, perhaps write above the </body> tag (in case it is loading javascript into your page or something).

Topic Closed

This topic has been closed to new replies.

About this Topic