gettermfromqueryparameter
Type: boolean
Default: false
Context: prediction
About this parameter
This parameter automatically gets the term to search for from a query parameter in the URL. For example, if the URL is www.example.com?query=house, and the parameter is set to data-gettermfromqueryparameter="query", the term "house" will be used for filtering recommendations in the same way as autocomplete.
Example of using gettermfromqueryparameter
Usage examples
<div class="rek-prediction" data-gettermfromqueryparameter="query"></div>