• 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:

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

    thnx

Viewing 1 replies (of 1 total)
  • 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).

Viewing 1 replies (of 1 total)
  • The topic ‘want to add ip tracking code ‘somewehre’’ is closed to new replies.