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 > Websites & apps > Select a website or an app > Settings > Internal search engine tracking).
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: