# Single result searches are automatically redirected bypassing the search results page

**URL:** <https://community.piwik.pro/t/single-result-searches-are-automatically-redirected-bypassing-the-search-results-page/2684>\
**Category:** Data collection and tags\
**Created:** [August 3, 2023, 2:57pm UTC](https://community.piwik.pro/t/single-result-searches-are-automatically-redirected-bypassing-the-search-results-page/2684 "2023-08-03T14:57:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seo](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@seo](https://community.piwik.pro/u/seo)\
**Post date:** [August 3, 2023, 2:57pm UTC](https://community.piwik.pro/t/single-result-searches-are-automatically-redirected-bypassing-the-search-results-page/2684/1 "2023-08-03T14:57:57Z")

</div>

Hi,  
After the recent update, single result searches on our site are automatically redirected to the appropriate page, bypassing the search results page. This makes it difficult for us to track and record these specific searches using the keyword parameters configuration.

I was thinking of asking the developer to add information (keyword…) to the redirect page’s data layer (or as a parameter in the URL) that would allow me to create a trigger with the following tag :  
`_paq.push(['trackSiteSearch','123','SearchMatch','1']);`  
?

I’m looking for suggestions on how to adapt my tracking method to continue to monitor all user searches precisely, even those that only return one hit.

Thanks

---

<div class="post-metadata">

**Author:** ![sararekowska](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/sararekowska/32/1582_2.png) [@sararekowska](https://community.piwik.pro/u/sararekowska)\
**Post date:** [August 4, 2023, 6:09am UTC](https://community.piwik.pro/t/single-result-searches-are-automatically-redirected-bypassing-the-search-results-page/2684/2 "2023-08-04T06:09:38Z")

</div>

Hi there!

I would recommend to somehow push the data about the search, so you can use it in the tag manager - and that’s exactly the solution you came up with 😄

In case you want to learn more about manually tracking site searches - here’s our documentation: [API — Piwik PRO Analytics Suite 17.7 documentation](https://developers.piwik.pro/en/latest/data_collection/web/javascript_tracking_client/api.html?highlight=tracksitesearch#trackSiteSearch).
