How do I modify the _trackPageview output of the Google Analytics Drupal 7 module?
If your question is "how to pass custom values to Google Analytics ?", then why wouldn't you use the Custom Variables feature of Google Analytics, populated by custom tokens ?


Create custom token containing search categories (via hook_token_info() and hook_tokens()) 
In Google Analytics Module interface, in the "Custom Variables" fieldset, add your custom token