Insert a widget into the website

The appearance of the |related| widget is always customised according to the website's design, using its style elements, before the code is submitted. A widget placed immediately after the content of the article is most effective, but we will always agree on the position of the widget within the page.

The insertion code should be placed in the appropriate section or element within the HTML document. This will ensure that the content recommendation widget is displayed to the website visitor exactly where it was designed to be, in harmony with the rest of the content and layout of the website. 

If multiple widgets have been designed for the same page, each one must be inserted separately in the appropriate place.

To avoid potential problems, please do not modify the embed code or overwrite the appearance with custom CSS settings. If you experience a discrepancy or later change the design of the website, please report the problem to [email protected] and we will adjust the styles.

For Next.js

If the page is running in Next.js framework, the loading strategy of the script should be afterInteractive, so in this case you can add the strategy="afterInteractive" attribute to the script tag.


back to the knowledge base main page