FAQ: Content Security Policy

What shall I do if Userpilot refused to connect to my page?

Userpilot sends data using a web-socket connection. This issue is most likely due to blockage caused by a content security policy(CSP) – some networks block the web-socket connection. This can be fixed by asking your engineering team to whitelist Userpilot on your domain. Also, we recommend checking our Userpilot’s developer docs to understand what goes in and out of a client’s network.

You'll need to ensure that your policy allows Userpilot.js requests:

style-src      'self' fonts.googleapis.com;
img-src      'self' uploads.userpilot.io;
connect-src  js.userpilot.io deploy.userpilot.io api.userpilot.io;

If you have any questions, shoot us an email at team@userpilot.co.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.