Skip to main content

Include the Sitecore Discover Beacon


Describes how to include the Sitecore Discover Beacon on your website.

In coordination with your customized div tag scripts, the Sitecore Discover beacon enables the use of functionality related to analytics and personalization. It is required when integrating using the runtime JS option.


Before you include the beacon on your website, you must set up a subdomain for Discover to track visitors on your behalf.

To include the beacon on your website or online customer touchpoint:

  1. Click Developer Resources in the Customer Engagement Console (CEC).

  2. Copy the JavaScript code snippet under Beacon.

  3. Place the code at the beginning of the <head> section of all tracked web pages, as shown in the following code sample:

      <script type="text/javascript" src="<your custom url>" async="true"></script>