---
title: Why is the Leadinfo tracker blocked on my website?
description: Your website might block the Leadinfo tracker because of a strong Content Security Policy or CORS-Policy
---

[Skip to content](https://help.leadinfo.com/en/why-is-the-leadinfo-tracker-blocked-on-my-website#main-content)

- [English](https://help.leadinfo.com/en/why-is-the-leadinfo-tracker-blocked-on-my-website)
- [Dutch](https://help.leadinfo.com/nl/waarom-is-de-leadinfo-tracker-geblokkeerd-op-mijn-website)
- [German](https://help.leadinfo.com/de/warum-ist-der-leadinfo-tracker-auf-meiner-website-blockiert)

English

Show submenu for translations

[![Leadinfo\_logo\_RGB\_Witte\_tekst-3.png\]](https://help.leadinfo.com/hs-fs/hubfs/Leadinfo_logo_RGB_Witte_tekst-3.png?width=135&height=28&name=Leadinfo_logo_RGB_Witte_tekst-3.png)](https://help.leadinfo.com/?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://help.leadinfo.com/en/why-is-the-leadinfo-tracker-blocked-on-my-website)
    - [Dutch](https://help.leadinfo.com/nl/waarom-is-de-leadinfo-tracker-geblokkeerd-op-mijn-website)
    - [German](https://help.leadinfo.com/de/warum-ist-der-leadinfo-tracker-auf-meiner-website-blockiert)

  English
  
  Show submenu for translations

 Hi 👋 How can we help?

- There are no suggestions because the search field is empty.

1. [Help Centre](https://help.leadinfo.com/en?hsLang=en)
2. [Troubleshooting](https://help.leadinfo.com/en/troubleshooting?hsLang=en)
3. [Installation](https://help.leadinfo.com/en/troubleshooting?hsLang=en#installation)

# Why is the Leadinfo tracker blocked on my website?

## Your website might block the Leadinfo tracker because of a strong Content Security Policy or CORS-Policy

You can check the Developers Console in Google to see if the Leadifno trackingcode is installed successfully and fires on the page you want to track. It can happen that the tracker fires successfully, but is blocked by your website. Our tracker often blocked by a strong Content Security Policy (CSP) or Cross-origin resource sharing policy (CORS) 

In this article we'll answer the following questions: :

- [What is a Content Security or CORS Policy?](https://help.leadinfo.com/en/why-is-the-leadinfo-tracker-blocked-on-my-website#what-is-a-content-security-policy)
- [How do I know if my CSP blocks Leadinfo?](https://help.leadinfo.com/en/why-is-the-leadinfo-tracker-blocked-on-my-website#How-do-I-know-if-my-CSP-blocks-Leadinfo)
- [How do I know if my CORS blocks Leadinfo?](https://help.leadinfo.com/en/why-is-the-leadinfo-tracker-blocked-on-my-website#cors)
- [How do I use Leadinfo with a CSP?](https://help.leadinfo.com/en/why-is-the-leadinfo-tracker-blocked-on-my-website#HOW)

 

#### **What is a Content Security Policy (CSP)?**

The CSP is an extra layer of security that allows developers to restrict the behavior on their website or application. Done correctly, it detects and prevents attacks from data theft to code injection. This policy is set up by your team or via a security tool. 

 

There is no need to worry when Leadinfo is blocked by your CSP. You or your team can add Leadinfo to the rules of your CSP.

 

#### **What is a Cross-origin Resource Sharing Policy?**

Cross-origin Resource Sharing (CORS) is an important security feature that enables web applications to request resources from different domains. This functionality is essential for integrating third-party APIs and accessing various resources, such as videos, fonts, or weather data. CORS works by ensuring that your browser seeks permission from these external servers before allowing any data exchange to take place.There is no need to worry when Leadinfo is blocked by your CORS-policy. You or your team can add Leadinfo to the rules of your CORS-Policy.

 

 

#### How do I know if my CSP blocks Leadinfo?

 

**Step 1:** In Chrome, go to your website and right-click on your website and select "**Inspect**".

![](https://help.leadinfo.com/hubfs/Group%20686-png.png)

 

**Step 2:** The developer console will pop up. In this console, select "**Network**" from the top menu bar and search for "**Ping.js**" and refresh the page.

![](https://help.leadinfo.com/hubfs/Group%20688-png.png)

 

**Step 3:** When the Leadinfo tracking code is live on your website, you'll see the tracking code show up in the list of scripts. 

![](https://help.leadinfo.com/hubfs/Group%20711-png.png)

If you find the tracker in the overview of scripts, you're good to go! But if the tracker is marked red, and you see "**(blocked:csp)**" below the status, you need to change your Content Security Policy (CSP). 

![](https://help.leadinfo.com/hubfs/csp-png-1.png)

 

 

#### How do I know if my CORS blocks Leadinfo?

**Step 1:** In Chrome, go to your website and right-click on your website and select "**Inspect**".

![](https://help.leadinfo.com/hs-fs/hubfs/Group%20686-png.png?width=688&height=255&name=Group%20686-png.png)

 

**Step 2:** The developer console will pop up. In this console, select "**Network**" from the top menu bar and search for "**ping.js**" and refresh the page.

![](https://help.leadinfo.com/hs-fs/hubfs/Group%20688-png.png?width=688&height=256&name=Group%20688-png.png)

 

**Step 3:** When the Leadinfo tracking code is live on your website, you'll see the tracking code show up in the list of scripts. 

![](https://help.leadinfo.com/hs-fs/hubfs/Group%20711-png.png?width=688&height=285&name=Group%20711-png.png)

If you find the tracker in the overview of scripts, you're good to go! But if the tracker is marked red, and you see "**(blocked:cors)**" below the status, you need to change your Cross-origin resource sharing policy (CORS).

You can check the Developers Console in Google to see if the Leadifno trackingcode is installed successfully and fires on the page you want to track. It can happen that the tracker fires successfully, but is blocked by your website. Our tracker often blocked by a strong Content Security Policy (CSP) or Cross-origin resource sharing policy (CORS) 

#### How do I use Leadinfo with a CSP/CORS-Policy?

 

If you want to use Leadinfo in your Content Security or CORS Policy, you must include the following directives in your Policies. 

 

script-src https://cdn.leadinfo.net  
connect-src https://api.leadinfo.com https://collector.leadinfo.net  
img-src https://collector.leadinfo.net

 

If you wish to use the Lead Gen Form feature, you also need to add the following directives.

 

style-src https://cdn.leadinfo.net  
font-src https://cdn.leadinfo.net  
img-src https://cdn.leadinfo.net

If you wish to use the Screen Recording feature, you also need to add the following directives. 

 

connect-src: https://\*.[ldnfrpl.com](http://ldnfrpl.com/)  
connect-src: [https://li-replay.s3-accelerate.amazonaws.com](https://li-replay.s3-accelerate.amazonaws.com/)  
script-src: https://\*.[ldnfrpl.com](http://ldnfrpl.com/)

- [Installing Leadinfo](https://help.leadinfo.com/en/installing-leadinfo?hsLang=en#main-content)

    - [Starting your trial period at Leadinfo](https://help.leadinfo.com/en/installing-leadinfo?hsLang=en#starting-your-trial-period-at-leadinfo)
    - [Add Leadinfo to your privacy statement](https://help.leadinfo.com/en/installing-leadinfo?hsLang=en#add-leadinfo-to-your-privacy-statement)
    - [Leadinfo Tracking Code](https://help.leadinfo.com/en/installing-leadinfo?hsLang=en#leadinfo-tracking-code)
    - [Ways to install Leadinfo](https://help.leadinfo.com/en/installing-leadinfo?hsLang=en#ways-to-install-leadinfo)
- [Starting with Leadinfo](https://help.leadinfo.com/en/starting-with-leadinfo?hsLang=en#main-content)

    - [Step 1: Give your colleagues access](https://help.leadinfo.com/en/starting-with-leadinfo?hsLang=en#step-1-give-your-colleagues-access)
    - [Step 2: Organize your inbox](https://help.leadinfo.com/en/starting-with-leadinfo?hsLang=en#step-2-organize-your-inbox)
    - [Step 3: Keep your inbox tidy by hiding certain companies](https://help.leadinfo.com/en/starting-with-leadinfo?hsLang=en#step-3-keep-your-inbox-tidy-by-hiding-certain-companies)
    - [Step 4: Set up your email reports](https://help.leadinfo.com/en/starting-with-leadinfo?hsLang=en#step-4-set-up-your-email-reports)
    - [Step 5: Set up your functions and integrations](https://help.leadinfo.com/en/starting-with-leadinfo?hsLang=en#step-5-set-up-your-functions-and-integrations)
    - [Step 6: Secure Leadinfo with Two-Factor Authentication](https://help.leadinfo.com/en/starting-with-leadinfo?hsLang=en#step-6-secure-leadinfo-with-two-factor-authentication)
- [Leadinfo Inbox](https://help.leadinfo.com/en/leadinfo-inbox?hsLang=en#main-content)

    - [Tags](https://help.leadinfo.com/en/leadinfo-inbox?hsLang=en#tags)
    - [Segments](https://help.leadinfo.com/en/leadinfo-inbox?hsLang=en#segments)
    - [Company information](https://help.leadinfo.com/en/leadinfo-inbox?hsLang=en#company-information)
- [Leadinfo Automation](https://help.leadinfo.com/en/leadinfo-automation?hsLang=en#main-content)

    - [Triggers](https://help.leadinfo.com/en/leadinfo-automation?hsLang=en#triggers)
    - [Reports](https://help.leadinfo.com/en/leadinfo-automation?hsLang=en#reports)
    - [Liquid content](https://help.leadinfo.com/en/leadinfo-automation?hsLang=en#liquid-content)
    - [Persona](https://help.leadinfo.com/en/leadinfo-automation?hsLang=en#persona)
    - [SFTP](https://help.leadinfo.com/en/leadinfo-automation?hsLang=en#sftp)
- [Integrations](https://help.leadinfo.com/en/integrations?hsLang=en#main-content)

    - [General](https://help.leadinfo.com/en/integrations?hsLang=en#general)
    - [Most used CRM integrations](https://help.leadinfo.com/en/integrations?hsLang=en#most-used-crm-integrations)
    - [CRM integrations](https://help.leadinfo.com/en/integrations?hsLang=en#crm-integrations)
    - [Communication](https://help.leadinfo.com/en/integrations?hsLang=en#communication)
    - [Google](https://help.leadinfo.com/en/integrations?hsLang=en#google)
    - [Ads](https://help.leadinfo.com/en/integrations?hsLang=en#ads)
    - [Automation](https://help.leadinfo.com/en/integrations?hsLang=en#automation)
    - [Analytics](https://help.leadinfo.com/en/integrations?hsLang=en#analytics)
- [Leadinfo Autopilot](https://help.leadinfo.com/en/leadinfo-autopilot?hsLang=en#main-content)

    - [General](https://help.leadinfo.com/en/leadinfo-autopilot?hsLang=en#general)
    - [Campaigns](https://help.leadinfo.com/en/leadinfo-autopilot?hsLang=en#campaigns)
    - [Contacts](https://help.leadinfo.com/en/leadinfo-autopilot?hsLang=en#contacts)
    - [LinkedIn & Email Account information](https://help.leadinfo.com/en/leadinfo-autopilot?hsLang=en#linkedin-email-account-information)
- [Leadinfo Leadbot](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#main-content)

    - [Building a Leadbot](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#building-a-leadbot)
    - [Editing a Leadbot](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#editing-a-leadbot)
    - [Leadbot integrations](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#leadbot-integrations)
    - [Leadbot Analytics](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#leadbot-analytics)
    - [Leadbot Forms](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#leadbot-forms)
    - [WhatsApp Business](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#whatsapp-business)
    - [Leadbot submissions](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#leadbot-submissions)
    - [Lead Gen Form](https://help.leadinfo.com/en/leadinfo-leadbot?hsLang=en#lead-gen-form)
- [Leadinfo Analyses](https://help.leadinfo.com/en/leadinfo-analyses?hsLang=en#main-content)

    - [Dashboard](https://help.leadinfo.com/en/leadinfo-analyses?hsLang=en#dashboard)
    - [Export](https://help.leadinfo.com/en/leadinfo-analyses?hsLang=en#export)
- [Tutorials and webinars](https://help.leadinfo.com/en/tutorials-and-webinars?hsLang=en#main-content)

    - [Webinars](https://help.leadinfo.com/en/tutorials-and-webinars?hsLang=en#webinars)
- [GDPR](https://help.leadinfo.com/en/gdpr?hsLang=en)
- [Account](https://help.leadinfo.com/en/account?hsLang=en)
- [Best practices](https://help.leadinfo.com/en/best-practices?hsLang=en#main-content)

    - [Triggers](https://help.leadinfo.com/en/best-practices?hsLang=en#triggers)
    - [Follow-up](https://help.leadinfo.com/en/best-practices?hsLang=en#follow-up)
    - [Integrations](https://help.leadinfo.com/en/best-practices?hsLang=en#integrations)
    - [Segments](https://help.leadinfo.com/en/best-practices?hsLang=en#segments)
- [Persona Insights](https://help.leadinfo.com/en/persona-insights?hsLang=en#main-content)

    - [Persona Insights](https://help.leadinfo.com/en/persona-insights?hsLang=en#persona-insights)
    - [Form Tracking](https://help.leadinfo.com/en/persona-insights?hsLang=en#form-tracking)
    - [Email Campaign Tracking](https://help.leadinfo.com/en/persona-insights?hsLang=en#email-campaign-tracking)
- [FAQ](https://help.leadinfo.com/en/faq?hsLang=en#main-content)

    - [General](https://help.leadinfo.com/en/faq?hsLang=en#general)
    - [Portal](https://help.leadinfo.com/en/faq?hsLang=en#portal)
    - [Recognition](https://help.leadinfo.com/en/faq?hsLang=en#recognition)
    - [Integrations](https://help.leadinfo.com/en/faq?hsLang=en#integrations)
    - [Invoices](https://help.leadinfo.com/en/faq?hsLang=en#invoices)
    - [Cookie consent solutions](https://help.leadinfo.com/en/faq?hsLang=en#cookie-consent-solutions)
    - [Leadbot](https://help.leadinfo.com/en/faq?hsLang=en#leadbot)
    - [Autopilot](https://help.leadinfo.com/en/faq?hsLang=en#autopilot)
    - [Persona Insights](https://help.leadinfo.com/en/faq?hsLang=en#persona-insights)
- [Troubleshooting](https://help.leadinfo.com/en/troubleshooting?hsLang=en#main-content)

    - [General](https://help.leadinfo.com/en/troubleshooting?hsLang=en#general)
    - [Integrations](https://help.leadinfo.com/en/troubleshooting?hsLang=en#integrations)
    - [Installation](https://help.leadinfo.com/en/troubleshooting?hsLang=en#installation)
- [How does Leadinfo work?](https://help.leadinfo.com/en/how-does-leadinfo-work?hsLang=en)

[![Leadinfo\_logo\_RGB\_Witte\_tekst-May-13-2023-10-03-08-9010-AM](https://help.leadinfo.com/hs-fs/hubfs/Leadinfo_logo_RGB_Witte_tekst-May-13-2023-10-03-08-9010-AM.png?width=200&height=41&name=Leadinfo_logo_RGB_Witte_tekst-May-13-2023-10-03-08-9010-AM.png "Leadinfo_logo_RGB_Witte_tekst-May-13-2023-10-03-08-9010-AM")](http://leadinfo.com)

Resources for Winners

[Terms & Conditions](https://www.leadinfo.com/en/eula/)  
                                                                                                                  [Privacy Policy](https://www.leadinfo.com/en/legal/privacy/)