Forums Forums Search & Filter Pro Track Searches

Tagged: 

  • 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)
  • Anonymous
    #58219

    My client is interested in tracking what site visitors are searching for using the Search & Filter Pro drop down menus. Does anyone know if this is possible??

    Many thanks

    Trevor
    #58252

    Not from our plugin, no. It may be that tracking software offered by others would do this for your client.

    Ross Moderator
    #58254

    This is on the long term roadmap though 🙂

    Anonymous
    #58270

    Great, thanks guys. I’ll look around and if I find something that works, I’ll post it back here.

    Anonymous
    #70994

    I 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 Label

    This only tracks each click, so it doesn’t track what filters were searched for in combination with each other.

    Trevor
    #71005

    Cool. Can I close this thread?

    Anonymous
    #71121

    Yep!

Viewing 7 posts - 1 through 7 (of 7 total)