filter_exclude_onpagelinks
Type: bool
Default: false
Context: prediction
About this parameter
When you make a recommendation, the recommended links may already be on the current webpage.
If you want to prevent this, you can use filter_exclude_onpagelinks to limit duplicates.
Allow some links on the current page
In some cases a dropdown menu or other UI elements may inlcude links that we don't want to filter out.
In this case, you can use the filter_exclude_onpagelinks_except_inside attribute to mark those links as allowed.
List element id:s that wrap links that sholud be allowed to be recommended.
<div class="rek-prediction" data-filter_exclude_onpagelinks="true" data-filter_exclude_onpagelinks_except_inside="#menuid"></div>Usage examples
<div class="rek-prediction" data-filter_exclude_onpagelinks="true"></div>