Browser SDK

Enable browser collection with consent

Configure origins, enable collection in the dashboard, and obtain consent in your application.

Configure allowed origins

In organization settings, enable browser collection and list exact origins. Live origins require HTTPS.

Use the PUBLISHABLE KEY in the browser

The browser SDK uses pk_test_ or pk_live_ and only observations:create. Never place server keys in browser code.

Continue without browser evidence

If consent is denied or scripts are blocked, omit the observation token and continue with the server evaluation.

Related guides

Documentation