Search puts ?q= in the URL, the way GA4 site search expects. Filters and sort fire their own events.
?q=