Multi-site recommendation

Multi-site recommendation

It is entirely possible to recommend content across different websites using rek.ai. This functionality can be applied, for instance, between an intranet and an external website, or between a municipal site and a tourism site.

If the websites are not on the same domain, you will need to add them as approved domains in the Dashboard (opens in a new tab) (add them to the project that will fetch the recommendations).

Examples of sites that share the same domain and do not require additional configuration include: site.com and news.site.com.

To enable cross-site recommendations, the only parameter that needs to be added is: data-projectid="111111", where 111111 is replaced with the project ID of the site from which you wish to fetch recommendations. The projectid can be found under settings in the Dashboard (opens in a new tab).

Example

A news recommendation from a news site to the main site:

<div class="rek-prediction"
 
  data-projectid="111111"
 
  id="news"
  data-selector="#news"
  data-nrofhits="4"
  data-renderstyle="advanced"
  data-cols="2"
  data-headertext="Recommended"
  data-titleheadinglevel="3"
  data-titlemaxlength="100"
  data-titlefontclass="subheading"
></div>

Example of both same and multi-site recommendation

This image shows how two recommendations on the same page can create a diverse experience that helps the user discover two different sites.

Multi-site