Skip to main content

Staging Mode

Last updated on June 10, 2024

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, navigate to the Profile icon in the top-right corner and select Organizations & Sites from the drop-down.

Organisations and sites.

2. In the Organizations & Sites tab, click the three-dot menu against the required site and select Add staging site from the dropdown menu. 

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

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

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.

Staging Site toggle button

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.

The CookieYes banner will now be active on your staging site. You can use this dashboard to customize the 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 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 Site URL

Note

If you’re updating the staging site URL, add the banner installation code to the new site. Refer to our installation guide 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

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.

Important

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

Have more questions?

Reach out to us and we'll answer them.

Contact us