# Site search and personal data

**URL:** <https://community.piwik.pro/t/site-search-and-personal-data/5309>\
**Category:** Data collection and tags\
**Created:** [August 18, 2025, 11:32am UTC](https://community.piwik.pro/t/site-search-and-personal-data/5309 "2025-08-18T11:32:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martho](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@martho](https://community.piwik.pro/u/martho)\
**Post date:** [August 18, 2025, 11:32am UTC](https://community.piwik.pro/t/site-search-and-personal-data/5309/1 "2025-08-18T11:32:03Z")

</div>

Hi

Just wondering if anyones found a solution to anonymize names in searches?

For context users will inevitably search for personal names on our site. This is fine and makes sense, as there are functionality tied to this behaviour.

While it’s not a problem per se, I’m wondering if anyones found a good solution for anonymizing these search keywords?

Br.

Martin

---

<div class="post-metadata">

**Author:** ![jfidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jfidala/32/4263_2.png) [@jfidala](https://community.piwik.pro/u/jfidala)\
**Post date:** [August 20, 2025, 11:11am UTC](https://community.piwik.pro/t/site-search-and-personal-data/5309/2 "2025-08-20T11:11:13Z")

</div>

Hey @martho - I don’t think there is flexible solution to your problem. You could change request parameters with `setCustomRequestProcessing` but I’m not sure what would be the best way to apply filters that catch all the names in search query.

Here you can find examples how this function works:

> **[setCustomRequestProcessing](https://developers.piwik.pro/docs/setcustomrequestprocessing)**
>
> The setCustomRequestProcessing() method lets you set up a function that will access and modify any query string before it will be sent as a request. Syntax setCustomRequestProcessing(queryProcessingFunction) Not available Not available Not available...
