Trying to do a trackEvent, Please help

Hi there,

i am trying to keep track of all searches, below is the code, both the object and the search Phrase are available, i just don’t see any results in the backend of Piwik, could anyone tell me what i’m doing wrong?

Thanks in advance!

    $(".asp_main_container").on("asp_search_end", function(event, id, instance, phrase) { 
      // Make the Piwik object available
      var tracker = Piwik.getTracker("//", xxxx);
      // Track the Search phrase 
      tracker.trackEvent('General_Actions', 'Live Search', 'Phrase', phrase);