Hi, we just installed Piwik today on a site that has an internal search (powered by thinking sphinx) and we would like to track search terms so I am asking for the best strategy. I have come up with:
- creating a goal perhaps that uses a regular exp to catch query terms and then do something with that…?
- creating a custom variable that is triggered via javascript function when the search link is pressed, eg capturing the query terms and setting the customVariable as described in the javascript tracking readme
- post processing the data, using some reg exp magic to gather search terms from the mysql table
Please, let me know if I am on or off the right track and what strategies you guys have used and found useful. Thanks,
Jed