Add A Page Identifier Script To Your Site

If pages on your site do not have unique identifiers in their URL paths, you can use a page identifier variable to create identifiers that Recommendations Web can use.

Recommendations Web uses a unique page identifier in order to know what page to display a recommendation block on. Typically you will be able to use a parameter in a page's URL. However, if your site doesn't support this, you can add a brontoIdentifier script to place identifiers on pages.

The script should look similar to

<script type="text/javascript">
var brontoIdentifier = {value: "identifier"};
</script>

where identifier is replaced with the identifier you want to use for the page.

So if you wanted to place recommendation blocks on all pages that have children products your code would look like

<script type="text/javascript">
var brontoIdentifier = {value: "kids"};
</script>

and the identifier you would map in Recommendations Web would be kids.