use_findologic_with_google_analytics:filtertracking
This is an old revision of the document!
Tracking filter clicks with Google Analytics
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.
Direct Integration: How to enable filter tracking
- As a first step, please follow all the instructions in tracking merchandising features with Google Analytics.
- After following these steps, simply write an e-mail to support@findologic.com.
- The filter tracking is then activated by FINDOLOGIC.
- After the activation, you can find the data in your Google Analytics account.
API-Integrations: How to enable filter tracking
- As the filters are not rendered by FINDOLOGIC in API-integrations, 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.
- If you are using a direct implementation of Google Analytics, you can use the following method:
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' });
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.