web, ios, and android.
Use applications when you want to compare authentication behavior across channels without splitting your analytics into multiple projects.
1. Default application behavior
Each Corbado project includes a default application automatically. You only need to configureapplicationId when you want to split analytics by channel.
If you only track one channel, you do not need to configure anything. Corbado Observe already has a default application for your project.
2. When to create multiple applications
Create separate applications when the user journey differs by channel, for example:- Web checkout login vs. native in-app login
- iOS vs. Android passkey UX differences
3. Send application context
The Corbado Observe SDK supportsapplicationId in tracker initialization options (TrackerOptions). The SDK normalizes this value to lowercase before sending it.
You can pass application context in two ways:
- Set
applicationIdonce during initialization. - Pass
applicationIdas an event tag when you need dynamic channel assignment.
- NPM
- CDN
Corbado Observe SDK installation and setup are explained in Getting started.
3.1 Configure applicationId globally
3.2 Set applicationId per event
4. Recommended naming strategy
- Use one canonical ID per channel (
web,ios,android) - Keep IDs lowercase and immutable
- Avoid environment-specific IDs (for example
web-staging) inside the same project
5. Environments: use separate projects
Use separate Corbado Observe projects for separate environments, for example:- One project for
production - One project for
staging - Optional additional project for
development