Skip to main content

Load the script

Load the Element from the CDN. The pk-specific URL is preferred because it embeds your tenant config (one fewer request, cached per key):
Replace {pk} with your publishable key, for example pk_live_abc123. The generic fallback works but does not embed tenant config:
Either URL attaches window.Filecheck once loaded.

Handle async loading

With async, window.Filecheck is not available immediately. Poll for it before initializing:
Building a plugin? Use Filecheck.mount, which handles mounting, cart gating, and the proof gallery for you. Poll for window.Filecheck && window.Filecheck.mount.

Sizing

The widget self-sizes. Give the mount element a width only, never a fixed height. The iframe is wrapped in Shadow DOM, so your CSS does not affect it.