---
title: Allow Third-Party Service Workers For Session Replay
description: >-
  Configure third-party service worker permissions for Session Replay to ensure
  optimal performance and data security.
breadcrumbs: >-
  Docs > RUM & Session Replay > Real User Monitoring & Session Replay Guides >
  Allow Third-Party Service Workers For Session Replay
---

# Allow Third-Party Service Workers For Session Replay

## Overview{% #overview %}

Session Replay uses a Service Worker in another domain `session-replay-datadoghq.com` to provide the best experience possible while protecting your privacy and guaranteeing the safety of your data.

If you have blocked third-party cookies in your browser settings, or if your browser blocks them by default, this prevents the service worker from registering correctly.

### Allow an exception{% #allow-an-exception %}

Datadog recommends that you make an exception to your third-party cookie blocking to allow Session Replay's service worker to function properly.

If you use Google Chrome, follow the instructions below. This exception workflow also applies to Firefox and other desktop browsers, including Brave and Edge.

1. In your web browser, click the **Lock** icon to the left of the page URL.

1. Click **Cookies**. A pop-up modal appears.

   {% image
      source="https://datadog-docs.imgix.net/images/real_user_monitoring/session_replay/allow-3p-serviceworker-1.e22c81f2f518209e4ffa0308d74fb7cd.png?auto=format"
      alt="Allow Session Replay Third-Party Service Worker" /%}

1. Navigate to the **Blocked** tab and select `session-replay-datadoghq.com` from the list of pages.

1. Click **Allow** and **Done**.

   {% image
      source="https://datadog-docs.imgix.net/images/real_user_monitoring/session_replay/allow-3p-serviceworker-2.e662d3570950fffb5c71bd5a5a8a8e24.png?auto=format"
      alt="Allow Session Replay Third-Party Service Worker" /%}

Once you have updated your cookie settings, reload the page.

## Further Reading{% #further-reading %}

- [Learn about Session Replay](https://docs.datadoghq.com/session_replay/browser/)
