When Piwik PRO tracks an internal search, it grabs a piece of a URL address with query parameters like
keyword. If you’re using different query parameters then you can add them to the internal search settings, and the tracking will work fine (Menu > Administration > Sites & apps >
Select a site or app > Data collection > Keywords from your internal search engine).
Note: You can also use this method to track a search category and count of search results.
- On the page with search results, before
_paq.push(['trackPageView']);use the following function:
- You may use variables in Tag Manager to capture each piece of information — keyword, category, and search count.
- If you have variables, add them to the function:
For developers: For more information about internal search tracking, read our developer guide.