Written by The Jahia Team
   Estimated reading time:

To track internal searches in jExperience, the search form needs to match these two requirements:

  • The HTML form name of your search form must be "searchForm"
  • The input name containing the search term must be "src_terms[0].term"

Below is an example:

<form method="post" name="searchForm" action="/sites/virtuall/home/search-results.html">    
<input type="hidden" name="jcrMethodToCall" value="get">
<input name="src_terms[0].term" type="text" >
</form>