To track user behavior in the Search Layer (JavaScript implementation) on your website while using Sensefuel, you should connect your Analytics solution through the data layer mode.
This ensures that all interactions within Sensefuel search experiences are properly captured in your own analytics environment.
1. How It Works
Sensefuel can automatically pushes events into the data layer of your website or your tag management system (such as GTM dataLayer).
Your role is to map these events so they can be sent to your preferred analytics tool (GA4, AT Internet, Adobe Analytics, etc.).
2. List of Available Events
Sensefuel can push several events to help you monitor user interactions throughout the search and discovery journey.
2.1. Keyword Searched
Triggered when Sensefuel detects that the user has finished typing a query in the search box.
2.2. Products Displayed
Triggered when search results product listings generated by Sensefuel are displayed to the user.
2.3. Product Click
Triggered when a user clicks on a product tile from the search or discovery results.
2.4. Product Add to Cart (optional)
Triggered only if this feature has been implemented on your integration.
3. Using the Event Bus
If you need richer or more detailed data, you can retrieve the same events—and even more—through the Sensefuel Event Bus.