Search tracking code

Description

The main tracking code can automatically retrieve the search phrase from the address bar, but on the site, the search phrase is not passed to the URL of the page in the form of a GET parameter. In order for the system to monitor user search queries, analyze their further actions, use this information to calculate search recommendations and send trigger emails, you need to install additional tracking code on the page with the search result.

🚧

Search phrase

<search_phrase> - search phrase which a user entered at the website;

Example of a code

<script>
rrApiOnReady.push(
    function() {
        try { 
            rrApi.search("<search_phrase>"); 
        }
        catch(e) {}
     }
);
</script>