The plugin sends custom events to Google Analytics. There are two categories of events:
- Autocomplete Search with results
- Autocomplete Search without results
Benefits
- You can see all terms typed by users that don’t return products. To increase sales you have to correct the product names or descriptions to cover these terms.
- You can better understand your customers by analyzing what they type in the search engine.
- You can check which products are most often searched
- You can check which products aren’t searched and why
Integration with Google Analytics 4
With its release in October, 2020, and further development ever since, it’s clear that Google Analytics 4 is the most future-proof tool.
FiboSearch triggers a search event that you can use to send events to GA4.
During the search, the dgwtWcasGAEvent event is triggered and you can listen to it using the snippet below.
add_action( 'wp_footer', function () { ?>
<script>
jQuery(document).on('dgwtWcasGAEvent', function (event, data) {
window.dataLayer.push({
'event' : 'autocomplete_search',
'searchTerm': data.term,
'searchCategory': data.category,
});
});
</script>
<?php }, 100 );
ⓘLearn how to add this snippet to your WordPress.
Next, you’ll have to configure GTM (Google Tag Manager) for the event to be passed on.
- Trigger

- Variables


- Tag

After saving and publishing changes to GTM, you’ll receive search events in GA4.
More resources – https://www.analyticsmania.com/post/find-search-terms-in-google-analytics-4/
Need help?
If you’re still stuck, contact us with the step you reached and any message you see.