Getting started with Sitecore Discover runtime JS
Integration using Sitecore Discover runtime JS is deprecated.
We recommend that you use the Discover JS SDK to integrate your website or the Discover API for a website or application integration.
The Discover runtime JS integration option works by loading pre-built JavaScript-based widgets on your pages when a placeholder <div> tag is in focus.
When you get started with the runtime JS option, the Discover integration team sets up your Customer Engagement Console (CEC) with pages and widgets adjusted according to your specific requirements. You must then send Discover a design mockup, which our integration team uses to customize our experience templates. This customization makes the Discover widgets look like native pieces of your pages.
Once your widgets are live, no new changes can be made to them.
After the integration team has configured and customized your widgets, you must add the Discover beacon to your site's head tag. Finally, repeat the following steps for every page configured for you in the CEC:
-
For each widget on the page, add its corresponding <div> tag.
-
Build required events and track them using the rfk.push() function.
-
(Optional) Specify and clear widget context when relevant.