If you only want to log number of visits or something like that, you can do all the job and then just redirect user there:
<?php
...do all the processing (i.e. increase visits' counter)...
header("Location: $url");
exit;
?>
If you want control over how the page is loaded, you'll have to check socket functions. I won't go further into this, because the first solution probably suits you better.
Good luck!