GA4 data layer event that logs this event to indicate when the user has performed a search. You can use this event to identify what users are searching for on your website or app. For example, you could send this event when a user views a search results page after performing a search.
Example dataLayer push for “search“.
window.dataLayer = window.dataLayer || ;
Google Tag Manager Solutions
Enhanced Ecommerce Data Layer
Recommended Events Data Layer