what is the search query parameter for zp?

Has anyone had any luck entering a search query parameter using Google analytics and zp? I want Google analytics to track site searches on my site but it's not recognizing my query parameter, namely 'words='. Is there something else I can try? Thanks.

Comments

  • acrylian Administrator, Developer
    Zenphoto uses the $_REQUEST super global to send the search queries. So http://www.zenphoto.org/page/search/?words=admin does work if called directly. But the standard search form uses POST instead of this GET example so there is generally no direct url to track.

    You would have to create your own searchform. Look at the existing one and the class-search.php file. Also there is a search statistic plugin available in Zenphoto itself.

    The modrewrite url to a tag is something like this `http://www.zenphoto.org/page/search/tags/admin`
Sign In or Register to comment.