halfdan / piwik-ruby-tracking

A Ruby Gem that allows you to add the Piwik Tracking Code to Sinatra, Padrinorb and Rails
MIT License
52 stars 33 forks source link

Properly handle Site Search #14

Open halfdan opened 11 years ago

halfdan commented 11 years ago

piwik_analytics should properly handle Site Search and not call trackPageView() when trackSiteSearch() is called.

http://piwik.org/docs/javascript-tracking/#toc-tracking-internal-search-keywords-categories-and-no-result-search-keywords

grauschnabel commented 10 years ago

I had the same Idea, but now I think maybe there is a way including the <%= piwik_tracking_tag %> but configure it to NOT track the actual site, so maybe I could put another <%= track_now %> tag somewhere - or just doing it with the javascript itself, so <%= piwik_tracking_tag %> would only prepare the javascript 'piwikTracker' for me, which I can use wherever I want. :)