Docs
Docs contents

Content Security Policy

If your site sets a Content Security Policy, allow the host the Numbat tag loads from in two directives. The tag contacts no other host.

Directives

With the standard tracking code, add the shared host.

script-src  https://go.ironbarkedge.com
connect-src https://go.ironbarkedge.com
Directive Value Why
script-src https://go.ironbarkedge.com Loads /<your-site-id>.js
connect-src https://go.ironbarkedge.com Events to /e, identity to /i, the recovery token from /r, and the site settings from /<your-site-id>.json

The tag needs no img-src, frame-src or style-src allowance, and sets no inline script.

With a custom domain

With a custom domain, use your subdomain instead.

script-src  https://data.example.com
connect-src https://data.example.com

Keep the shared host too while the old tag is still on any page.