Skip to main content

Product database via YML file

Description

When using a YML feed, you need to pass the ID of the product category whose page the user is on to the rrApi.categoryView tracking code. The ID must be numeric and must match the ID attribute of the tag passed in the YML file.

Code example

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