Integration via Product API

Description

While using the product API, the categories are passed as categoryPath and it must be passed in the same way to the recommendation requests.

🚧

CategoryPath

Array of product category name paths with a slash as category level separator.
Category path must exactly reflect your website menu structure and categories nesting (please use static category names only, no URL paths, sidebar filters or dynamic breadcrumbs are allowed). Specify only lowest level (if the product is listed in categories "Women/Clothes/Skirts" and "Women/Clothes/" you should only pass "Women/Clothes/Skirts")

Example of a code

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