Skip to:
Content
Pages
Categories
Search
Top
Bottom

adding search category parameter to search forms

  • Avatar of Vernon Fowler
    Vernon Fowler
    Participant

    @vernonfowler

    The search parameter ‘s’ for the search query is easy enough to track in Google Analytics (GA).
    I’d like to be able to categorise the search submissions with an additional parameter, according to whether the search is for a member, group or (bbPress) forum (or any other type of component).

    For example, when viewing the members directory, if I search for “Vernon” then I will see the search term (as my GA is configured to the parameter ‘s’ for search) but I can’t tell whether the search was conducted on the member search form, the groups search form, or any other.

    Is there some add_filter or other function to do this?
    I’m using the latest WordPress 3.7 and BuddyPress 1.8.1 with bbPress 2.4.x

    Thanks for your time.
    Vernon

You must be logged in to reply to this topic.