use_findologic_with_google_analytics:filtertracking
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
use_findologic_with_google_analytics:filtertracking [2021/09/22 10:06] florian |
use_findologic_with_google_analytics:filtertracking [2022/02/02 09:26] florian [Tracking search and navigation clicks with Google Analytics] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Tracking filter clicks with Google Analytics ===== | + | ===== Tracking search and navigation 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**. | + | 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 | | ||
+ | |||
+ | <note>"Submitted queries" is not necessary if a page reload is done on a submitted search on your website</note> | ||
\\ | \\ | ||
Line 8: | Line 16: | ||
==== How to enable filter tracking ==== | ==== 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. | + | 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): | * 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. | * Set a click handler to the filter. | ||
* The click handler sends the used filter to Google Analytics. | * 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: | + | * The following snippets might help you to implement the tracking in your API/Plugin integration: |
<code javascript>ga('send', 'event', ..)</code> | <code javascript>ga('send', 'event', ..)</code> | ||
Line 33: | Line 43: | ||
transport: 'beacon' | transport: 'beacon' | ||
});</code> | });</code> | ||
+ | |||
+ | <note>For Direct integrations the data is sent out of the box to Google Analytics as soon as the connection is working correctly.</note> | ||
---- | ---- |