The way I learned how to do this;
Make a new plugin with any name
hook it to online_location_process
PHP Code:
if ($filename == 'index.php?page=example')
{
$userinfo['activity'] = 'pageexample';
}
now make another plugin with a new name
hook to online_location_unknown
PHP Code:
if($userinfo['activity'] == 'pageexample')
{
$userinfo['where'] = 'Example';
$userinfo['action'] = "Viewing Page:";
$handled = true;
}
This should work. Let me know if it doesn't. I only used it where the file ended with .php (for example, custompage.php), not when it didn't end with an extension (it's ending with ?page=example), but it may work still.