If you want to use trace watch with modx revo then here is the very simple method of utilising it.
Create a snippet, something like
traceWatch
Put the following code into the snippet
<?php
include_once $_SERVER[ 'DOCUMENT_ROOT' ].'/tracewatchdirectory/api/LogRequest.php';
twatchLogRequest();
?>
Remember to alter the '
tracewatchdirectory' to the actual directory name where your tracewatch files are installed.
Put the snippet in your template - I placed mine in a footer chunk which was then called in my main template.
Calling the snippet is simply: