i am currently looking into the new search tracking in piwik and wonder how i can set it up for ajax search.
I run the search query against a php website which gives me the results back and display them inside a div. So when i enter a GET parameter for search it will not work the way i want it.
Yes, it’s still un-documented, but you can use
piwikTracker.trackSiteSearch( keyword, category, searchCount);
use this instead of trackPageView() on the serach result page.
only keyword is required, other are optional
I am using Ajax shopping cart for my website for Darjiling Teas
Will Piwik be able to read the visitor and other metrics?