What are CSP Errors
If your website is set up with a CSP that restricts external domains, the Nextroll Pixel, and any third-party pixels fired through the NextRoll Pixel, may be blocked. In other words, our pixel will not be able to fully track your website traffic.
Determine if a pixel is not firing due to CSP restrictions
A quick way to check if a pixel is being restricted by a CSP is to view your browser’s development console. Please note, that this assumes the NextRoll pixel has already been properly placed on the website. Learn more about how to install the Pixel here.
To determine if a pixel is not firing due to your CSP restrictions your developer will need to open the browser’s development console to look for any errors. For Chrome go to 'More Tools' > 'Developers Tools' > 'Console'.
✍️ Please note, that this assumes the NextRoll Pixel has already been properly installed on your website and is firing correctly. Click here to learn how to install the NextRoll Pixel, or click here to verify your NextRoll Pixel is firing.
Below you can find an example of what CSP errors look like in the Console log.
Clicking the issues tab will also provide further information and possible fixes regarding the flagged issues:
Add domains to a CSP
To prevent your CSP restrictions from blocking the NextRoll Pixel ability to properly track all your website traffic and fire all our partner Pixels, you should ask your developer to add the following domains to a CSP allowist with the img-src and script-src directives. Please note, some domains are not applicable and depends on which networks have been enabled on your advertisable. In those cases, they can be removed.
If the issue persists
If you continue to see issues in your browser console log after your developer has added the domains above to your CSP allowlist please reach out to the Customer Support team providing the details below:
- Your website URL where the NextRoll Pixel is installed.
- Confirmation that the NextRoll Pixel is properly installed. Learn how-to here.
- A screenshot of the errors you see in your browser console. For Chrome go to 'More Tools' > 'Developers Tools' > 'Console'.