GA4 Search event
The E-commerce report uses the GA4 total number of searches of the connected property using the built-in Site search event.
This can be configured in two ways:
- using GA4 admin configuration
- using GTM or gtag
Using GA4 admin configuration
If you are using a dedicated search page, for example /search?tn_q=hoodie
, you can use the Enhanced Measurement events from GA4.
To learn more, see [GA4] Enhanced measurements events and look for the Site search section.
Using GTM/gtag
If you don't have a dedicated search page or the built-in search event does not work correctly, you can implement the event manually.
To learn more, go to:
- Implement the Search event in GA4 in Tweakwise JS
- See Recommended events - Search to view details of the recommended Tag Manager setup.
- See Recommended events - Search (gtag) to view details of the recommended gtag setup.
Using Tweakwise JS?
Updated 5 days ago