use_findologic_with_google_analytics:filtertracking
Tracking search and navigation clicks with Google Analytics
You can track the following clicks in your search and navigation with Findologic:
Tracked information | Event | Category | Action | Label |
---|---|---|---|---|
Submitted queries | findologicSearch | findologicSearchRequest: /findologic/search?searchparam=<Query> | ||
Filter clicks in search | findologicEvent | FINDOLOGIC Filter Click: Search | Filter name | Filter value |
Filter clicks in navigation | findologicEvent | FINDOLOGIC Filter Click: Navigation | Filter name | Filter value |
Filter clicks in navigation | findologicEvent | FINDOLOGIC Result Click | Query | ID of the clicked product |
“Submitted queries” is not necessary if a page reload is done on a submitted search on your website
How to enable filter tracking
Filter tracking allows you to track the usage of the filters within Google Analytics. This will give you the possibility to easily check the impact of your filters and take action in order to improve the filters being used in your shop.
- As the filters are not rendered by Findologic, you have to implement the filter tracking for your shop by yourself.
- As a helper, we recommend following the following steps (as they may differ from one shop to another, they are being held rather general):
- Set a click handler to the filter.
- The click handler sends the used filter to Google Analytics.
- The following snippets might help you to implement the tracking in your API/Plugin integration:
ga('send', 'event', ..)
- F.e. if the filter color=red is clicked in the search result page, use the following method:
ga('send', 'event', { eventCategory: 'Findologic Filter Click: Search', eventAction: 'color', eventLabel: 'red' transport: 'beacon' });
- F.e. if the filter color=red is clicked in the navigation the method
ga('send', 'event', { eventCategory: 'Findologic Filter Click: Navigation', eventAction: 'color', eventLabel: 'red' transport: 'beacon' });
For Direct integrations the data is sent out of the box to Google Analytics as soon as the connection is working correctly.
How to find the data in Google Analytics
- You can find the data under Behavior → Top Events.
- Every filter click event can be found by searching for Findologic Filter Click:.
- You can handle this data like any other data you collect in Google Analytics.
- Have a look at the following screenshots in order to see how the collected data looks like in your Google Analytics account.
- By clicking on the Findologic Filter Click event you can see more details about the filter usage.
- By clicking on a specific filter you can see details about the filter value usage.