orwel.init({ apiKey }) once in the browser. The pages at orwel.io/install walk you through each platform with copy and paste steps.
Frameworks
- Next.js
- SvelteKit
- Astro
- React and Vite
Sites without a build step
For plain HTML and website builders, add the CDN script to the<head> of every page. The production API key goes in the script itself; it can only send data, so that is safe.