Rek.ai Dashboard ↗Rek.ai Dashboard ↗ (opens in a new tab)Rek.ai website ↗Rek.ai website ↗ (opens in a new tab)
  • Introduction
  • Getting started
    • Quickstart guide
    • Installation
    • Data gathering
    • Display recommendations
    • Best practice filtering pages
    • Display recommendations with javascript
    • Embeddings and similarity
    • How It Works
  • Advanced
    • All parameters
      • Prediction parameters
        • Addcontent
        • Entitytype
        • Gettermfromqueryparameter
        • Nrofhits
        • Orderbypercentage
        • Unranked
      • Filter parameters
        • Allowedlangs
        • Currentpagequestions
        • Domain
        • Excludechildnodes
        • Excludequestionswithtags
        • Excludetree
        • Filterexcludecurrentpage
        • Filterexcludeonpagelinks
        • Intitle
        • Jsonld
        • Maxnrofdays
        • Maxpathdepth
        • Maxsimilarity
        • Maxsimilarityquestions
        • Minpathdepth
        • Notdomain
        • Notpagetype
        • Pagetype
        • Questionids
        • Rootpathlevel
        • Subtree
        • Tags
        • Term
        • Userootpath
      • Render parameters
        • Addstripes
        • Addtrailingslash
        • Cols
        • Datefontclass
        • Dateformat
        • Disablehighlight
        • Fallbackimgsrc
        • Headerfontclass
        • Headerheadinglevel
        • Headerid
        • Headertext
        • Hideanswerlinktopage
        • Hideanswerlinktopageifsamepage
        • Hideimage
        • Ingressfontclass
        • Ingressheadinglevel
        • Ingressmaxlength
        • Listcols
        • Questionsfirst
        • Renderstyle
        • Selector
        • Showdate
        • Showimage
        • Showingress
        • Stripecolor
        • Styling
        • Titlefontclass
        • Titleheadinglevel
        • Titlemaxlength
        • Useh1forcontent
      • Advanced parameters
        • Advancedmockdata
        • Alwaysfirst
        • Callback
        • Forceembedding
        • Format
        • Ignorelabels
        • Noembeddings
        • Nrofembeddedhits
        • Onlyembeddings
        • Projectid
        • Rt
    • Advanced recommendation
    • Advanced data collection
    • Cross-site recommendations
    • Custom features
    • External site
    • JSON-LD
      • JSON-LD Add to page
      • JSON-LD Filter on metadata
      • JSON-LD Display
    • Test in a development environment
    • Crawl website
    • Proxy for all traffic
    • Validate user access
      • Get predictions with REST API
      • Save page views with REST API
  • Search autocomplete
    • Search Autocomplete HTML
    • Search Autocomplete Sitevision
    • Advanced Usage
    • Custom Statistics
  • Rek.ai on an intranet
  • Questions & Answers
    • Implementation Question & Answers
      • Advanced implementation
      • Example of question collection page
    • Question & Answers in Sitevision
    • Question & Answers in autocomplete
    • Server side rendering for SEO and AEO
      • Generic example
      • Server-side in Sitevision
  • Dashboard
      • Overview
      • Monthly reports
      • Block pages
      • AI simulator
      • Questions and Answers
      • Performance
      • Page views
      • 404 / Error pages
      • Search terms
      • Referrals / Source traffic
      • External links
      • Single Digital Gateway
      • General settings
      • Questions settings
      • Search settings
      • AI model settings
      • User access
      • Allowed domains
      • External sites
      • View stream
  • Integration modules
    • Sitevision
      • Installation
      • Settings and Search
      • Manual
      • Premium
      • Question and Answers module
      • Question and Answers Dashboard Widget
    • React
      • React - Hello World!
    • TYPO3
      • Installation
    • WordPress
      • Installation
  • More
  • Video guides
  • FAQ
  • Troubleshooting
  • Tutorials
    • Style recommendations
    • Recommendations on a search result page
    • Sitevision specific
    • E-services on search page
    • Input field with autocomplete
    • Content Security Policy (CSP)

On This Page

  • About this parameter
  • Usage examples
Advanced
All parameters
Filter parameters
Pagetype

pagetype

Type: string
Default:
Context: prediction, search, questions

About this parameter

Determines which type of pages should be recommended.

By looking at the page's id and html, rek.ai can in some cases determine what type of page it is. Enter more by separating them with commas. You can also specify additional types by using json+ld.

Usage examples

<div class="rek-prediction" data-pagetype="svarticle"></div>
NotpagetypeQuestionids

Rek.ai Docs