Install Analytise on Lovable
Ask the AI builder to inject the script — or paste it directly into index.html.
Via the AI prompt
- Open your project in Lovable.
- Send this prompt to the editor, replacing the domain and site id:
Add this script tag to the <head> of index.html exactly as written:
<script defer data-domain="yourwebsite.com" data-site-id="YOUR_SITE_ID" src="https://www.analytise.com/js/tracker.js"></script>Manual edit
- Open
index.htmlin the file tree. - Paste the snippet inside the
<head>. - Publish your project.
Lovable projects are Vite + React under the hood, so the snippet loads exactly like a normal HTML page — no special framework wiring needed.
Verify it works
- Open your website in a new tab.
- The dashboard shows your visit under
onlinewithin a few seconds (live visitors update every ~15s). - Nothing showing? See Troubleshooting.
Next guide
v0