Search Tracking Code
Description
In order for the system to track user search queries, analyze their further actions, and use this information to calculate search recommendations and send trigger emails, a search tracking code must be installed on the search results page.
Search Phrase
<search_phrase> - the search phrase that the user entered on the site;
Code Example
<script>
rrApiOnReady.push(
function() {
try {
rrApi.search("<search_phrase>");
}
catch(e) {}
}
);
</script>