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:

πŸ’‘

Using Tweakwise JS?

Go to Tweakwise JS - Implement the Search event in GA4.