For the complete documentation index, see llms.txt. This page is also available as Markdown.

What to Do When a CSP Error Occurs

If you encounter a Content Security Policy (CSP) error while installing the tag and verifying tag firing, please follow the steps in this article to add Ptengine's domains to your whitelist.

Error screens

CSP error screen (Console)
CSP error screen (Network tab)

When only default-src is configured

You need to add all three of the following: unsafe-inline, *.ptengine.jp, and *.ptengine.com.

When CSP is configured per media type

Please refer to the table below.

Media
Policy

script-src

'self' 'unsafe-inline' *.ptengine.jp *.ptengine.com

style-src

'self' 'unsafe-inline' *.ptengine.jp *.ptengine.com

connect-src

*.ptengine.jp *.ptengine.com

img-src

*.ptengine.jp *.ptengine.com

frame-src

*.ptengine.jp *.ptengine.com

最終更新