Jump to content

Ajax Goals on google analytics


Diego Pamio

Recommended Posts

Hi, I´ve tried to add google analytics goals modifying the jreviews listings_controller.php adding:

 

              $response[] = '

                   var $parentForm = '.$parentFrame.'.jQuery(\'#jr_listingForm\');

+++           '.$parentFrame.'._gaq.push([\'_trackPageView\',\'/nuevaPersonaAgregadaExitosamente.php\']);

                   $parentForm.scrollTo({duration:400,offset:-100});

                   $parentForm.s2ShowUpdate('.$jsonObject.');                                                      

               ';                

but it doesn´t seem to do anything (doesn´t break and if change somehting to make it break, it breaks, so the program flow does step over here. Of course the listings are not moderated and I´m going thru this part of the branch.

 

Any suggestion?

Link to comment
×
×
  • Create New...