Hi there,
Is there any way to track queries that are produced using Views' search/filter functionality. Say I have a view with 3 filters: Size, Shape, Color.
I need a way to record what combinations and frequencies users are searching on the front-end using each of those filters. Any specific methods/hooks/filters you know of that I can use?
Thanks!
You should be able to use Google Analytics "Event tracking".
hidden link
You can call the _trackEvent function with Javascript to send the values searched for.
Please let me know if you are satisfied with my reply and any other questions you may have.
Regards,
Caridad
Right, I'm well aware of Google Event Tracking, however we need a native WP solution.
I'm imagining we could just hook into the
filter and checking for any custom tax/meta queries, right? Is there a better way to access the parametric filter criteria more directly?