---
title: "Include the Sitecore Discover Beacon"
slug: "include-the-sitecore-discover-beacon"
abstract: "Describes how to include the Sitecore Discover Beacon on your website."
---
# Include the Sitecore Discover Beacon

In coordination with your customized `div` tag scripts, the [Sitecore Discover beacon](https://doc.sitecore.com/discover/en/developers/discover-developer-guide/get-started-with-your-discover-integration/using-the-sitecore-discover-beacon.html "Using 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](https://doc.sitecore.com/discover/en/developers/discover-developer-guide/get-started-with-your-discover-integration/using-the-sitecore-discover-beacon/implementing-domain-delegation.html "Implementing domain delegation") 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:

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