excludechildnodes

Type: boolean
Default: false
Context: prediction, questions

About this parameter

Prevents pages at the level below the current level from being included in the recommendations. Can be used when using rootpathlevel.

If you make a recommendation on the start page and use excludechildnodes, the result is:

Will not be recommend (childnode/depth 1): test.com/level1.html

Will be recommend (depth 2): test.com/level1/level2.html

Usage examples

<div class="rek-prediction" data-excludechildnodes="true"></div>