With grouped products

Description

If the website contains grouped products, then you need to use tracking code rrApi.groupView, and pass in it an array of product IDs, which are combined by a single group_id.
These IDs must match IDs, which are passed in the product database.

Besides, this tracker should be called on the quick view window, in case the website has this functionality.

group_id should not be passed in tracking-code.

🚧

Region ID (stock ID)

<stock_id> - Identifier of the stock to which products belong, string. Must match identifier of stock, which is passed in the product database.

Example of a code for integration without stocks

<script type="text/javascript"> 
    (window["rrApiOnReady"] = window["rrApiOnReady"] || []).push(function() {
        try{ rrApi.groupView([<product_ids>]); } catch(e) {}
    })
</script>

Example of a code for integration with stocks

<script type="text/javascript">
    (window["rrApiOnReady"] = window["rrApiOnReady"] || []).push(function() {
        try{ rrApi.groupView([<product_ids>],{"stockId": "<stock_id>"}); } catch(e) {}
    })
</script>