Include the Sitecore Discover Beacon

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.

Note

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:

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

Do you have some feedback for us?

If you have suggestions for improving this article,