Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author braekling

    (@braekling)

    If the search term is sent via URL parameter, there is no additional javascript code required. See http://piwik.org/docs/site-search/#toc-enable-site-search-tracking-for-your-website

    WordPress’ default search query parameter is “s”.

    Using the site search javascript function (e.g. to support rewritten URLs) will be added in a future version of WP-Piwik.

    Thread Starter Subhash.at

    (@subhashat)

    This is not correct.
    I was referring to http://piwik.org/docs/javascript-tracking/#toc-tracking-internal-search-keywords-categories-and-no-result-search-keywords . It reads that on “normal” pages you would use piwikTracker.trackPageView(). On search result page, one has to call instead piwikTracker.trackSiteSearch(keyword, category, searchCount). Without this tracking of intern searches which had no result is not possible. (I add the code manually to my WP-installations because your plugin seems to miss that feature.)

    Plugin Author braekling

    (@braekling)

    You need to use piwikTracker.trackSiteSearch if you like to track the search results manually:

    By default, Piwik can read URL parameters that will contain the search keyword. However, you can also record the site search keyword manually using the Javascript function trackSiteSearch(…)

    WordPress’ default search works with the URL parameter “s” (e.g. myblog.tld/?s=keyword), which is tracked by default. Works fine here, of course without sorting by the search count.

    I’ll add piwikTracker.trackSiteSearch in a future version to track keywords in rewritten URLs and to track the search count which allows the seperation you like to get. But the Intern Search Tracking itself works by now.

    Thread Starter Subhash.at

    (@subhashat)

    Thanks for you’re reply. I know that search tracking is possible with piwikTracker.trackPageView(). But the very interesting new feature to see what people searched for on your website and did not find is not possible.

    Plugin Author braekling

    (@braekling)

    Work in progress here.

    Plugin Author braekling

    (@braekling)

    Committed to the repository. New feature in 0.9.8.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Feature Request: Intern Search Tracking’ is closed to new replies.