Error tracking
Send errors from any Sentry SDK to Clearlook by changing only the DSN.
Clearlook accepts errors from the official Sentry SDKs. Use the SDK for your platform and give it your project's DSN (Settings › Project, or get_install_config from your AI app). If you already use Sentry, change only the DSN.
import * as Sentry from '@sentry/browser'
Sentry.init({ dsn: 'https://…@app.clearlook.dev/123', release: 'a1b2c3d' })
The browser script links each error to its visit, so investigations can tell how errors affect conversions. It finds Sentry on its own when Sentry is global (window.Sentry). If you import the SDK instead, make it global once after Sentry.init:
window.Sentry = Sentry
Pass the same release as the script's data-release.
Source maps upload in CI with a key from Settings › API keys; the .map files are not deployed publicly. Transactions and performance data are accepted and ignored.