# Staging Mode

> For the complete site index, see [llms.txt](/llms.txt). Every page is also available as Markdown: replace the trailing slash with `.md` (`/pricing/` becomes `/pricing.md`), or send `Accept: text/markdown` to the page URL itself.

Learn how to set up, enable, and use Staging Mode to test and customize your cookie banner in a development/ staging site.

---

**Categories:**  Banner Customization, Customization
**Last updated:** June 2, 2025
**URL:** https://www.cookieyes.com/documentation/add-staging-site/

---

The **Staging** **Mode** feature in CookieYes allows users to set up and preview their cookie banner in a test environment. This feature is helpful for organizations that employ separate development / staging / production website environments specifically, as it enables thorough banner testing without impacting the live domain. Using the staging mode, you can validate your banner’s configuration and behaviour before making it accessible to live website visitors. 


> **Note:**

> The feature to add a staging site is only available for sites with an **active** **Paid** **Plan** (Basic, Pro, Ultimate).
>

## Setup Overview

There are three main steps to set up a staging site.
1. Add Staging Site URL
2. Enable Staging Mode
3. Add CookieYes Installation Code


## Step 1: Add a Staging Site

> **Note:**

> You can only add one staging site per domain.
>

1. In the CookieYes [Dashboard](https://app.cookieyes.com/dashboard?ref=CYM_mrkdwn), navigate to the **Profile** **icon** in the top-right corner and select **Organizations** **& Sites** from the drop-down.

![org and sites](https://assets.cookieyes.com/org_and_sites_75458785b7.png)

2. In the [**Organizations & Sites**](https://app.cookieyes.com/settings/organizations-and-sites?ref=CYM_mrkdwn) tab, click the **three-dot **menu against the required site and select **Add staging site** from the dropdown menu. 

![add staging](https://assets.cookieyes.com/add_staging_a3658f4089.png)

3. In the modal, enter your **Staging site’s URL** in the provided field and click **Add**.

![site url add](https://assets.cookieyes.com/site_url_add_47585a4b65.png)

4. The staging site you added will appear in your organisation. Click **Manage** **Site** to navigate to your staging site’s dashboard.

![MANAGE SITE](https://assets.cookieyes.com/MANAGE_SITE_39a176b2da.png)

## Step 2: Enable Staging Mode

In the top bar of your CookieYes Dashboard, switch the toggle button to the **right** to **enable** **Staging** **Mode**. You can use this toggle button to switch between your live website and staging site’s banner configurations.

![Toggle button](https://assets.cookieyes.com/Toggle_button_d1f8f3192e.png)

## Step 3: Add CookieYes Installation Code

Click **Get Installation Code** to copy the CookieYes script for your staging site. Then, paste it immediately after your staging site’s opening `<head> `tag.


![Toggle button copy](https://assets.cookieyes.com/Toggle_button_copy_8d1c611d90.png)

The CookieYes banner will now be active on your staging site. You can use this dashboard to [customise the cookie banner](https://www.cookieyes.com/documentation/customize-cookie-banner/) for your staging site further.

## Staging site settings

You can change your Staging site’s URL, update the Site name, and delete the site as needed from the [Organizations & Sites](https://app.cookieyes.com/settings/organizations-and-sites?ref=CYM_mrkdwn) tab.


## Edit Staging site URL

1. Click on the **three-dot menu **to the right of the Staging site’s URL.
2. From the drop-down menu, select **Edit site URL**.
3. In the modal, enter the updated URL in the required field.
4. Click **Save** **Changes**.

![edit staging site](https://assets.cookieyes.com/edit_staging_site_33f5b3a474.gif)

> **Note:**

> If you’re updating the staging site URL, add the banner installation code to the new site. Refer to our [installation guide](https://www.cookieyes.com/category/documentation/getting-started/#:~:text=to%20Your%20Website-,Installation%20Guides,-How%20to%20add) for detailed instructions.
>

## Edit site name

1. Click on the **three-dot** **menu** to the right of the Staging site’s URL.
2. Select **Edit site name** from the drop-down menu.
3. Enter staging site name in the field and click **Save** **Changes**.

![edit site name](https://assets.cookieyes.com/edit_site_name_8417480218.png)

## Delete staging site

1. Click on the **three-dot menu **to the right of the Staging site’s URL.
2. From the drop-down menu, select **Delete** **site**.
3. Click **Delete staging site**.

![delete staging site](https://assets.cookieyes.com/delete_staging_site_784073fe4b.png)

> **Important:**

> Deleting the staging site is **permanent** and cannot be undone. Ensure you no longer need the staging site before proceeding.
>


---

## Structured Data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Article",
      "headline": "Staging Mode",
      "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.cookieyes.com/documentation/add-staging-site/"
      },
      "url": "https://www.cookieyes.com/documentation/add-staging-site/",
      "publisher": {
        "@type": "Organization",
        "name": "CookieYes",
        "url": "https://www.cookieyes.com",
        "logo": {
          "@type": "ImageObject",
          "url": "https://www.cookieyes.com/cookieyes-logo.png",
          "width": 2048,
          "height": 2048
        }
      },
      "description": "Learn how to set up, enable, and use Staging Mode to test and customize your cookie banner in a development/ staging site.",
      "datePublished": "2024-06-04T15:33:06+00:00",
      "dateModified": "2025-06-02T06:23:53+00:00",
      "author": {
        "@type": "Person",
        "name": "CookieYes Doc Team"
      },
      "image": [
        "https://assets.cookieyes.com/cookieyes.png"
      ]
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://www.cookieyes.com/documentation/add-staging-site/#breadcrumb",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://www.cookieyes.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Documentation",
          "item": "https://www.cookieyes.com/documentation/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Customization",
          "item": "https://www.cookieyes.com/category/documentation/customization/"
        },
        {
          "@type": "ListItem",
          "position": 4,
          "name": " Banner Customization",
          "item": "https://www.cookieyes.com/category/documentation/customization/banner-customization/"
        },
        {
          "@type": "ListItem",
          "position": 5,
          "name": "Staging Mode",
          "item": "https://www.cookieyes.com/documentation/add-staging-site/"
        }
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://www.cookieyes.com/#website",
      "url": "https://www.cookieyes.com/",
      "name": "CookieYes",
      "description": "CookieYes is a Google-certified consent management platform that helps businesses comply with GDPR, CCPA, and other global privacy laws.",
      "inLanguage": "en-US",
      "publisher": {
        "@id": "https://www.cookieyes.com/#organization"
      },
      "potentialAction": {
        "@type": "SearchAction",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://www.cookieyes.com/?s={search_term_string}"
        },
        "query-input": {
          "@type": "PropertyValueSpecification",
          "valueRequired": true,
          "valueName": "search_term_string"
        }
      }
    },
    {
      "@type": "Organization",
      "@id": "https://www.cookieyes.com/#organization",
      "name": "CookieYes",
      "url": "https://www.cookieyes.com/",
      "logo": {
        "@type": "ImageObject",
        "@id": "https://www.cookieyes.com/#/schema/logo/image/",
        "inLanguage": "en-US",
        "url": "https://www.cookieyes.com/cookieyes-logo.png",
        "contentUrl": "https://www.cookieyes.com/cookieyes-logo.png",
        "width": 2048,
        "height": 2048,
        "caption": "CookieYes"
      },
      "image": {
        "@id": "https://www.cookieyes.com/#/schema/logo/image/"
      }
    }
  ]
}
```
