View Single Post
Old 02-28-2012, 10:24 AM  
Why
MFBA
 
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
your best bet is to use event tracking...

http://code.google.com/apis/analytic...ckerGuide.html

something like this, inside of the google analytics code in your header should work.

PHP Code:
<?php if($_GET['mode'] = "search" && $_GET['q'] != ""){ ?>
     _gaq.push(['_trackEvent', 'Site Search', '<?php echo $_GET['q'?>');
<?php ?>
^ debug this, never ran it. oh and sanitize the inputs.

or you can opt to not mod_rewrite search queries... which is the easy fix.

Last edited by Why; 02-28-2012 at 10:28 AM..
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote