selector

Type: string
Default:
Context: prediction

About this parameter

A CSS selector that specifies the div in which to display the recommendations. They only needs to be specified if using the Javascript for two recommendations on the same page. Ex: "#news" and "#event".

More info here.

Usage examples

<div class="rek-prediction" data-selector="#news" ></div>
<div class="rek-prediction" data-selector="#event"></div>