Om din webbplats har en Content Security Policy behöver du tillåta Smartsupps domäner (*.smartsupp.com, *.smartsuppchat.com och *.smartsuppcdn.com). Annars laddas inte chatten som den ska. Exakta inställningar för CSP v3 och CSP v2 hittar du här nedanför.
Vi har delat upp artikeln i olika delar:
CSP v3 - strikt, fungerar med Google
Content-Security-Policy:object-src 'none';script-src 'nonce-{random}' 'strict-dynamic' 'unsafe-inline' https: http:;base-uri 'self';report-uri https://your-report-collector.example.com/
CSP v2
Content-Security-Policy: connect-src: wss://*.smartsupp.com https://*.smartsupp.com https://*.smartsuppchat.com https://*.smartsuppcdn.com font-src: https://*.smartsuppcdn.com media-src: https://*.smartsuppcdn.com img-src: data: https://*.smartsuppcdn.com script-src: 'unsafe-inline' https://*.smartsuppchat.com https://*.smartsuppcdn.com style-src: 'unsafe-inline' https://*.smartsuppcdn.com
Ändringslogg
Ändringslogg 2020-04-17: La till följande
connect-src: https://*.smartsuppchat.com https://*.smartsuppcdn.com
2020-09-22: Tog bort följande
connect-src: https://smartsupp-widget-161959.c.cdn77.org font-src: https://smartsupp-widget-161959.c.cdn77.org media-src: https://smartsupp-widget-161959.c.cdn77.org img-src: https://smartsupp-widget-161959.c.cdn77.org script-src: https://smartsupp-widget-161959.c.cdn77.org style-src: https://smartsupp-widget-161959.c.cdn77.org
Vad händer nu?
Gör Smartsupp min webbplats långsammare? — läs om hur chattkoden påverkar sidan.
Varför kan jag inte se chatten på min webbplats? — detta ska du kolla om chattrutan inte syns.
Webbläsare som stöds — vilka webbläsare och versioner som funkar med Smartsupp.
