Every method and init option of the Orwel JavaScript SDK (1.7.1).
The SDK is a singleton: initialize once, then import the same orwel instance anywhere (import orwel from 'orwel' or import { orwel } from 'orwel'). On the server (no window) every method is a no-op, so imports are safe in SSR code.
Configure the SDK with your key and options. Call once, in the browser. Throws on an invalid config.
track(code, props?)
{ success, eventId }
Queue a named event. The code must be in the workspace catalog.
identify(traits?)
{ success, visitorId }
Attach identity and traits to the visitor.
conversion(code, props?)
Promise<{ success, reason? }>
Record a conversion. Waits for the visitor id, adds a conversionId and attribution, sends immediately, and resolves with the acknowledged result. reason is visitor_unresolved, delivery_failed or error.
session(props?, final?)
{ success, sessionId }
Merge custom properties into the current session.
monitor(opts?)
{ success }
Start error, console, network and performance monitoring.
form(el, opts?)
{ success, error? }
Observe a form element.
flush()
Promise<{ success, count }>
Send the queue now, in batches of up to 100. Rarely needed.
One instance. Never re-initialize. Import orwel from your wrapper module everywhere; the visitor and session are managed for you and persist across reloads.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Orwel","colors":{"primary":"#2853ff","light":"#6d8bff","dark":"#1d3fd6"},"logo":{"light":"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/logo/light.svg?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=80bb317ac5f334005787239fe5fc49d8","dark":"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/logo/dark.svg?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=6d76aa96f7e17fbaf27a1965e19e13b7"},"favicon":"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/favicon.png?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=bb9b2e48b160f267f566e420743e9699","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.orwel.io"}},"background":{"color":{"light":"#ffffff","dark":"#111214"}},"navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.orwel.io/dashboard"}},"footer":{"socials":{"github":"https://github.com/hyperlabs-ai/orwel","linkedin":"https://www.linkedin.com/company/orwel"}},"seo":{"metatags":{"canonical":"https://www.orwel.io/docs"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"orwel-docs","hasAudioNarration":false,"actualSubdomain":"orwel-docs","customDomains":["www.orwel.io"],"gitSource":{"type":"github","owner":"hyperlabs-ai","repo":"orwel-api","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6ad82e72e51e6a3f317fe704"},"entitlements":{},"buildId":"6aeb617f245c712a705b2225","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"API Reference","count":21},{"language":"default","tag":"Core Concepts","count":17},{"language":"default","tag":"Intent signals","count":13},{"language":"default","tag":"SDK","count":8},{"language":"default","tag":"Identities","count":6},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Leads","count":4},{"language":"default","tag":"Developers","count":3},{"language":"default","tag":"Integrations","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar .max-w-8xl,div:has(>#sidebar){max-width:104rem!important}@media (min-width: 1024px){#content-area{padding-left:6.5rem}}@media (min-width: 1280px){#content-area{width:calc(100% - 24rem)!important;max-width:none!important;padding-left:7.5rem;padding-right:2.5rem}#table-of-contents-layout{width:20rem;padding-left:4rem}#table-of-contents{width:16rem}}#header{padding-bottom:0.5rem}#header>div>div.mt-2{margin-top:0.875rem;max-width:44rem;color:rgb(75 85 99)}.dark #header>div>div.mt-2{color:rgb(176 180 190)}#page-context-menu{align-self:flex-start;margin-top:-2.5rem}.dark .card{background-color:#17181b!important;border-color:rgb(255 255 255 / 0.08)!important}.dark .card:hover{background-color:#1b1c20!important}.card [data-component-part=\"card-content-container\"]{padding:1.125rem 1.25rem}.card [data-component-part=\"card-icon\"],.card [data-component-part=\"card-icon\"] svg{width:1.25rem!important;height:1.25rem!important}.card [data-component-part=\"card-title\"]{margin-top:0.75rem;font-size:0.95rem}.card [data-component-part=\"card-content\"]{font-size:0.875rem;line-height:1.5rem}.card-group{gap:0.875rem!important;row-gap:0.875rem!important}.card-group>.card{margin-top:0;margin-bottom:0}.card{position:relative;overflow:hidden;transition:border-color 0.2s ease, transform 0.2s ease}.card:hover{transform:translateY(-2px)}.card [data-component-part=\"card-content-container\"]{padding:1.25rem 1.375rem 1.375rem;min-height:9.5rem}.card [data-component-part=\"card-icon\"]{display:flex;align-items:center;justify-content:center;width:2.5rem!important;height:2.5rem!important;border-radius:11px;background:rgb(40 83 255 / 0.08);border:1px solid rgb(40 83 255 / 0.16)}.dark .card [data-component-part=\"card-icon\"]{background:rgb(109 139 255 / 0.12);border-color:rgb(109 139 255 / 0.22)}.card [data-component-part=\"card-icon\"] svg{width:1.15rem!important;height:1.15rem!important}.card [data-component-part=\"card-title\"]{margin-top:1rem;font-size:1rem}.card[role=\"link\"]::after{content:'';position:absolute;top:1.4rem;right:1.4rem;width:1rem;height:1rem;background-color:rgb(107 114 128);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E\") center / contain no-repeat;transition:transform 0.2s ease, background-color 0.2s ease}.card[role=\"link\"]:hover::after{background-color:#2853ff;transform:translate(2px, -2px)}.dark .card[role=\"link\"]:hover::after{background-color:#6d8bff}.code-block:not(:has([data-component-part=\"code-block-header\"])){padding:2px!important;background-color:rgb(249 250 251)!important}.dark .code-block:not(:has([data-component-part=\"code-block-header\"])){background-color:rgb(255 255 255 / 0.05)!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))::before{content:attr(language);display:block;width:fit-content;margin:0 0 0 0.9rem;padding:0.55rem 0.1rem 0.5rem;font-size:0.8125rem;font-weight:500;line-height:1.25rem;color:#2853ff;border-bottom:1.5px solid #2853ff}.dark .code-block:not(:has([data-component-part=\"code-block-header\"]))::before{color:#6d8bff;border-color:#6d8bff}.code-block:not(:has([data-component-part=\"code-block-header\"])) .code-block-background{border-radius:14px!important}.code-block:not(:has([data-component-part=\"code-block-header\"])) .code-block-fade-overlay{display:none!important}.code-block:not(:has([data-component-part=\"code-block-header\"])) [data-floating-buttons]{top:0.3rem!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"shellscript\"]::before,.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"bash\"]::before,.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"sh\"]::before,.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"shell\"]::before{content:'Terminal'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"json\"]::before{content:'JSON'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"javascript\"]::before,.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"js\"]::before{content:'JavaScript'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"typescript\"]::before,.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"ts\"]::before{content:'TypeScript'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"tsx\"]::before{content:'TSX'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"jsx\"]::before{content:'JSX'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"python\"]::before{content:'Python'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"html\"]::before{content:'HTML'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"svelte\"]::before{content:'Svelte'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"astro\"]::before{content:'Astro'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"yaml\"]::before{content:'YAML'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"http\"]::before{content:'HTTP'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"php\"]::before{content:'PHP'!important}.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"text\"]::before,.code-block:not(:has([data-component-part=\"code-block-header\"]))[language=\"plaintext\"]::before{content:'Text'!important}"}],"page":{"pagePath":"sdk/reference","slug":"/sdk/reference","pageMetadata":{"title":"SDK Reference","description":"Every method and init option of the Orwel JavaScript SDK (1.7.1).","icon":"book","href":"/sdk/reference"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every method and init option of the Orwel JavaScript SDK (1.7.1).\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The SDK is a singleton: initialize once, then import the same `,_jsx(_components.code,{children:`orwel`}),` instance anywhere (`,_jsx(_components.code,{children:`import orwel from 'orwel'`}),` or `,_jsx(_components.code,{children:`import { orwel } from 'orwel'`}),`). On the server (no `,_jsx(_components.code,{children:`window`}),`) every method is a no-op, so imports are safe in SSR code.`]}),`\n`,_jsx(Heading,{level:`2`,id:`methods`,children:`Methods`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Returns`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`init(config)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`void`})}),_jsx(_components.td,{children:`Configure the SDK with your key and options. Call once, in the browser. Throws on an invalid config.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`track(code, props?)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ success, eventId }`})}),_jsx(_components.td,{children:`Queue a named event. The code must be in the workspace catalog.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`identify(traits?)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ success, visitorId }`})}),_jsx(_components.td,{children:`Attach identity and traits to the visitor.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversion(code, props?)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Promise\u003c{ success, reason? }>`})}),_jsxs(_components.td,{children:[`Record a conversion. Waits for the visitor id, adds a `,_jsx(_components.code,{children:`conversionId`}),` and attribution, sends immediately, and resolves with the acknowledged result. `,_jsx(_components.code,{children:`reason`}),` is `,_jsx(_components.code,{children:`visitor_unresolved`}),`, `,_jsx(_components.code,{children:`delivery_failed`}),` or `,_jsx(_components.code,{children:`error`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`session(props?, final?)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ success, sessionId }`})}),_jsx(_components.td,{children:`Merge custom properties into the current session.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`monitor(opts?)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ success }`})}),_jsx(_components.td,{children:`Start error, console, network and performance monitoring.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`form(el, opts?)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ success, error? }`})}),_jsx(_components.td,{children:`Observe a form element.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flush()`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Promise\u003c{ success, count }>`})}),_jsx(_components.td,{children:`Send the queue now, in batches of up to 100. Rarely needed.`})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`init-options`,children:[_jsx(_components.code,{children:`init`}),` options`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`apiKey`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{}),_jsxs(_components.td,{children:[`Production API key (`,_jsx(_components.code,{children:`orwel_...`}),`) or development key (`,_jsx(_components.code,{children:`orwel_dev_...`}),`). `,_jsx(_components.strong,{children:`Required.`}),` Read it from an environment variable.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`autoMonitor`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})}),_jsxs(_components.td,{children:[`Same as calling `,_jsx(_components.code,{children:`monitor()`}),`: JS errors, console errors, network requests and navigation and resource timings.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`autoEventDetection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsxs(_components.td,{children:[`Automatic `,_jsx(_components.code,{children:`page_view`}),`, `,_jsx(_components.code,{children:`click`}),`, `,_jsx(_components.code,{children:`scroll`}),`, `,_jsx(_components.code,{children:`element_visible`}),` and other catalog events. Pass `,_jsx(_components.code,{children:`false`}),` to turn it off.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eventDetectionOptions`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`enabledCategories`}),` (for example `,_jsx(_components.code,{children:`['navigation', 'form', 'ecommerce']`}),`) and `,_jsx(_components.code,{children:`confidenceThreshold`}),` (0 to 1).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`debug`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})}),_jsx(_components.td,{children:`SDK logs in the browser console.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`verbose`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})}),_jsx(_components.td,{children:`More detailed logs.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` orwel`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'orwel'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`orwel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`NEXT_PUBLIC_ORWEL_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` autoMonitor:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` debug:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`NODE_ENV`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'production'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(Heading,{level:`2`,id:`monitor-options`,children:[_jsx(_components.code,{children:`monitor`}),` options`]}),`\n`,_jsxs(_components.p,{children:[`All default to `,_jsx(_components.code,{children:`true`}),` when you call `,_jsx(_components.code,{children:`monitor()`}),` with no options.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errors`})}),_jsx(_components.td,{children:`JS errors and unhandled promise rejections.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`console`})}),_jsx(_components.td,{children:`Console errors and warnings.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`network`})}),_jsx(_components.td,{children:`Fetch and XHR requests (URL, method, status, duration).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`performance`})}),_jsx(_components.td,{children:`Navigation and resource timings.`})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`form-options`,children:[_jsx(_components.code,{children:`form`}),` options`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`formId`})}),_jsx(_components.td,{children:`Identifier for the form (generated if omitted).`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`trackFocus`}),`, `,_jsx(_components.code,{children:`trackInput`}),`, `,_jsx(_components.code,{children:`trackChange`})]}),_jsx(_components.td,{children:`Field level interaction events.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`trackSubmit`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`form_submit_attempt`}),`, `,_jsx(_components.code,{children:`form_submit_success`}),`, `,_jsx(_components.code,{children:`form_submit_error`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`trackAbandon`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`form_abandon`}),` when the visitor leaves without submitting.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`submitCallback`})}),_jsxs(_components.td,{children:[`Called with `,_jsx(_components.code,{children:`{ success, error? }`}),` after a submit attempt.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`validation`,children:`Validation`}),`\n`,_jsx(_components.p,{children:`The SDK validates inputs at runtime and throws descriptive errors:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`apiKey`}),` must start with `,_jsx(_components.code,{children:`orwel_`}),` and be at least 20 characters.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`config`}),`, `,_jsx(_components.code,{children:`traits`}),` and `,_jsx(_components.code,{children:`properties`}),` must be objects.`]}),`\n`,_jsxs(_components.li,{children:[`Event codes match `,_jsx(_components.code,{children:`^[a-z0-9_]+$`}),` and are at most 50 characters.`]}),`\n`,_jsx(_components.li,{children:`Emails inside properties and traits must be valid addresses. Pass a valid one or omit the field.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`storage`,children:`Storage`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`Storage`}),_jsx(_components.th,{children:`Content`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`__orwel_visitor__`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`localStorage`})}),_jsx(_components.td,{children:`Visitor id and traits.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`__orwel_session__`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`localStorage`})}),_jsx(_components.td,{children:`Current session.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`__orwel_queue__`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`localStorage`})}),_jsx(_components.td,{children:`Events waiting to be sent (up to 1000).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`__orwel_attribution`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`localStorage`})}),_jsx(_components.td,{children:`First and last touch UTMs and click ids.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`__orwel_utm`}),`, `,_jsx(_components.code,{children:`__orwel_click_ids`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sessionStorage`})}),_jsx(_components.td,{children:`UTMs and click ids of the current session.`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`One instance.`}),` Never re-initialize. Import `,_jsx(_components.code,{children:`orwel`}),` from your wrapper module everywhere; the visitor and session are managed for you and persist across reloads.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"SDK Reference","description":"Every method and init option of the Orwel JavaScript SDK (1.7.1).","icon":"book","href":"/sdk/reference"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Methods","slug":"methods","depth":2,"children":[]},{"title":"init options","slug":"init-options","depth":2,"children":[]},{"title":"monitor options","slug":"monitor-options","depth":2,"children":[]},{"title":"form options","slug":"form-options","depth":2,"children":[]},{"title":"Validation","slug":"validation","depth":2,"children":[]},{"title":"Storage","slug":"storage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"orwel-docs","siteName":"Orwel","title":"SDK Reference - Orwel","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T16:47:02.015Z","originalFileLocation":"sdk/reference.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every method and init option of the Orwel JavaScript SDK (1.7.1).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Orwel\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"SDK Reference - Orwel\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every method and init option of the Orwel JavaScript SDK (1.7.1).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Orwel\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.orwel.io/docs/sdk/reference\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://orwel-docs.mintlify.site/docs/_mintlify/api/og/v2?division=SDK\u0026amp;title=SDK+Reference\u0026amp;description=Every+method+and+init+option+of+the+Orwel+JavaScript+SDK+%281.7.1%29.\u0026amp;theme=c069ada5c2f261fd9ddbf68b\u0026amp;signature=145f6a0af515ca801f1834d0646005eb11170dd99b0ecb2f69416928ec1bda1c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"SDK Reference - Orwel\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every method and init option of the Orwel JavaScript SDK (1.7.1).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://orwel-docs.mintlify.site/docs/_mintlify/api/og/v2?division=SDK\u0026amp;title=SDK+Reference\u0026amp;description=Every+method+and+init+option+of+the+Orwel+JavaScript+SDK+%281.7.1%29.\u0026amp;theme=c069ada5c2f261fd9ddbf68b\u0026amp;signature=145f6a0af515ca801f1834d0646005eb11170dd99b0ecb2f69416928ec1bda1c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Orwel\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2853ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.orwel.io/docs/sdk/reference\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/sdk/reference.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.orwel.io/#organization\",\"name\":\"Orwel\",\"url\":\"https://www.orwel.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/logo/light.svg?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=80bb317ac5f334005787239fe5fc49d8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.orwel.io/docs#website\",\"name\":\"Orwel\",\"url\":\"https://www.orwel.io/docs\",\"publisher\":{\"@id\":\"https://www.orwel.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.orwel.io/docs/sdk/reference#webpage\",\"url\":\"https://www.orwel.io/docs/sdk/reference\",\"name\":\"SDK Reference\",\"description\":\"Every method and init option of the Orwel JavaScript SDK (1.7.1).\",\"dateModified\":\"2026-11-04T16:47:02.015Z\",\"isPartOf\":{\"@id\":\"https://www.orwel.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.orwel.io/docs/sdk/reference#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.orwel.io/docs/sdk/reference#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SDK\",\"item\":\"https://www.orwel.io/docs/sdk/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SDK Reference\",\"item\":\"https://www.orwel.io/docs/sdk/reference\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.orwel.io/docs/sdk/reference#article\",\"headline\":\"SDK Reference\",\"name\":\"SDK Reference\",\"description\":\"Every method and init option of the Orwel JavaScript SDK (1.7.1).\",\"url\":\"https://www.orwel.io/docs/sdk/reference\",\"mainEntityOfPage\":{\"@id\":\"https://www.orwel.io/docs/sdk/reference#webpage\"},\"dateModified\":\"2026-11-04T16:47:02.015Z\",\"publisher\":{\"@id\":\"https://www.orwel.io/#organization\"},\"isPartOf\":{\"@id\":\"https://www.orwel.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Orwel\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Orwel","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"API keys and authentication","icon":"key","href":"/authentication"},{"title":"Install Orwel in Next.js, SvelteKit, Astro, Nuxt, Vite and more","sidebarTitle":"Install by framework","icon":"layer-group","href":"/guides/frameworks"},{"title":"Support","icon":"life-ring","href":"/support"}]},{"group":"SDK","pages":[{"title":"Orwel SDK","icon":"code","href":"/sdk/introduction"},{"title":"Event Tracking","icon":"signal-stream","href":"/sdk/event-tracking"},{"title":"Feature Tracking","icon":"puzzle-piece","href":"/sdk/feature-tracking"},{"title":"Track conversions and turn them into leads","sidebarTitle":"Conversions","icon":"bullseye","href":"/sdk/conversions"},{"title":"Attribution","icon":"crosshairs","href":"/sdk/attribution"},{"title":"CDN \u0026 Infrastructure","icon":"server","href":"/sdk/infrastructure"},{"title":"AI Skill","description":"An agent skill that installs and wires the Orwel SDK into any project, correctly, the first time.","icon":"robot","href":"/sdk/ai-skill"},{"title":"SDK Reference","icon":"book","href":"/sdk/reference"}]},{"group":"Developers","pages":[{"title":"Test your Orwel install with Dev mode and the development key","sidebarTitle":"Dev mode","description":"Send test traffic that never emails anyone, watch every request arrive live, and fix each warning the ingest debugger shows before you switch to the production key.","icon":"flask","href":"/guides/dev-mode"},{"title":"Journeys and features setup","sidebarTitle":"Journeys and features","icon":"route","href":"/guides/journeys-and-features"},{"title":"Troubleshooting","icon":"stethoscope","href":"/guides/troubleshooting"}]},{"group":"Integrations","pages":[{"title":"Google Ads","icon":"google","href":"/integrations/google-ads"},{"title":"Meta Ads","icon":"meta","href":"/integrations/meta-ads"},{"title":"HubSpot","icon":"hubspot","href":"/integrations/hubspot"}]},{"group":"Agents","pages":[{"title":"Connect Claude, Cursor and other agents with MCP","sidebarTitle":"MCP for agents","icon":"robot","href":"/agents/mcp"}]},{"group":"Core Concepts","pages":[{"title":"Workspaces","href":"/concepts/workspaces"},{"group":"Intent signals","pages":[{"title":"Intent signals","href":"/concepts/personalities"},{"title":"Decisive","icon":"bolt","href":"/concepts/personalities/decisive"},{"title":"Impulsive","icon":"fire","href":"/concepts/personalities/impulsive"},{"title":"Methodical","icon":"list-check","href":"/concepts/personalities/methodical"},{"title":"Focused","icon":"crosshairs","href":"/concepts/personalities/focused"},{"title":"Curious","icon":"magnifying-glass","href":"/concepts/personalities/curious"},{"title":"Skeptical","icon":"shield","href":"/concepts/personalities/skeptical"},{"title":"Lost","icon":"compass","href":"/concepts/personalities/lost"},{"title":"Social","icon":"users","href":"/concepts/personalities/social"},{"title":"Reactive","icon":"bell","href":"/concepts/personalities/reactive"},{"title":"Anxious","icon":"triangle-exclamation","href":"/concepts/personalities/anxious"},{"title":"Playful","icon":"gamepad","href":"/concepts/personalities/playful"},{"title":"Engaged","icon":"heart","href":"/concepts/personalities/engaged"}]},{"title":"Rate Limiting","href":"/concepts/rate-limiting"},{"title":"Pagination","href":"/concepts/pagination"},{"title":"Error Handling","href":"/concepts/errors"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"SDK Reference - Orwel","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":[],"chunks":[]}