alwaysfirst

Type: boolean
Default: false
Context: prediction

About this parameter

There are situations where you want to be able to specify a page or article to be displayed before the recommendations.

To simplify this situation, you can specify a url (or several separated by commas) in a data parameter.

The urls specified will be populated with data and rendered in the same way as the other recommendations.

Usage examples

<div class="rek-prediction" data-alwaysfirst="/pages/page1.html"></div>