Autocapture is web only. On iOS and Android, use custom events with the native SDKs.
1. Prerequisites
- An active project in the Corbado management console
- Your
Project IDandAPI Base URLfrom settings - Your authentication origins registered under origins
2. How the setup works
Autocapture combines the capture library@corbado/autocapture with a mapping for your flows. Corbado builds and maintains that mapping and keeps it current as your login evolves, which is what removes the instrumentation work from your team. It is therefore set up together with us rather than fully self-serve.
You — share your authentication surface
Tell us which login, sign-up, recovery and enrollment entry points exist and which methods each offers. A walkthrough of the live flows is usually enough.
Corbado — we build the mapping
Corbado produces the capture configuration and validates it against real journeys.
You — deploy one script
A single tag in your frontend.
Corbado — data appears
Journeys show up in the console within minutes. Confirm with the integration checks.
If you would rather instrument your flows yourself right now, custom events are available self-serve and take 1 to 3 days for a typical login flow.
3. Deploy the script
Place the script as early as possible, ideally right before your closing</head> tag, so no part of the journey is missed.
If you need more control over updates and changes, the Autocapture mapping script can also be hosted on your own platform or CDN. You then decide when a new version goes live, at the cost of pulling in mapping updates yourself. Talk to us to set this up.
4. Content Security Policy
If you run a CSP, allow the Corbado script origin and your API endpoint. Both values are shown in your project settings.5. Next steps
Verify your integration
Confirm events arrive with the expected payload.
Combine with custom events
Add events for facts that never reach the browser.