> For the complete documentation index, see [llms.txt](https://addressable.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://addressable.gitbook.io/knowledge-base/event-tracking/addressable-pixel/content-security-policy-csp.md).

# Content Security Policy (CSP)

If your website uses a Content Security Policy (CSP), you’ll need to allow Addressable’s scripts and images to load properly.

{% hint style="success" %}
**When Is This Needed**

Use this if:

* You have CSP headers configured on your site
* You see blocked requests in the browser console related to `adrsbl.io` or `adform.net`&#x20;
  {% endhint %}

### Required CSP Directives

To support Addressable and Adform tracking, update your CSP to include the following domains:

#### **For scripts:**

```
script-src
  https://*.adrsbl.io
  
script-src-elem
  https://*.adrsbl.io
  
connect-src
  https://*.adrsbl.io
```

#### **For images:**

```
img-src
  https://*.adrsbl.io
  https://*.adform.net;
```

These rules ensure the Addressable Pixel and Adform integrations function correctly without CSP-related errors.

{% hint style="warning" %}
If your policy uses a `default-src` directive with `'none'`, make sure to explicitly allow these sources in the appropriate directives above.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://addressable.gitbook.io/knowledge-base/event-tracking/addressable-pixel/content-security-policy-csp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
