Forums › Forums › Search & Filter Pro › Track Searches
Tagged: tracking
- This topic has 6 replies, 3 voices, and was last updated 8 years ago by Anonymous.
Viewing 7 posts - 1 through 7 (of 7 total)
-
Ross Moderator(Private) September 15, 2016 at 7:13 pm #58254
This is on the long term roadmap though 🙂
Anonymous(Private) November 17, 2016 at 9:48 pm #70994I wanted to follow up on this.
I was able to track drop down menu clicks through Google Analytics Event Tracking. There’s a bunch of tutorials on how to set this up in Google Analytics. Then I added this code to my custom javascript file:
if (typeof(ga) !== 'undefined') { // Check if Google Analytics is Loaded $(document).on('change', '.blog .sf-input-select', function(event){ ga('send','event','Blog Filter Searches','click', $(this).children(':selected').text() ); }); }
‘Blog Filter Searches’ is the Event Category in Analytics
‘click’ is the Event Action
The last bit after'click'
sends the name of the option as the Event LabelThis only tracks each click, so it doesn’t track what filters were searched for in combination with each other.
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)