Install on Lovable
Add the Kobbe tracker to a Lovable-generated web app.
Export or open your project’s index.html (or root layout) and inject the tracker in <head>. Token: Add the tracker.
Tracker snippet
<script
defer
data-token="YOUR_SITE_TOKEN"
src="https://app.kobbe.io/tracker.js"
></script>
Steps
- In the generated React/Vite tree, edit
index.htmlor the framework’s root layout where<head>is defined. - Paste before
</head>. - Deploy via your hosting provider (e.g. Cloudflare, Vercel).
If Lovable only exposes an “Analytics snippet” field in hosting settings, paste the same HTML there.
Verify
Open production URL; confirm Kobbe.
Next steps
- Hash page paths for client routers
- Custom events