Viewing of recommendation block

Description

When a block is rendered on the page, this method must be called so that the platform can capture this event.

🚧

Method parameters

<suggester> - block identifier, necessary for correct calculation of statistics for each of them. A unique value must be passed to each block

Code example

<script>
rrApiOnReady.push(
    function() {
        try { 
            rrApi.markupViewed(
                  "<%=suggesterId%>"
            )
        }
        catch(e) {}
     }
);
</script>