Okidoki + Lovable
See how many people visit, where they come from and what they read. Ask Lovable in one sentence to install Okidoki. No code to copy, and no cookie banner needed for Okidoki.
- About 2 minutes
- No cookies
- Free for 3 sites
Why Lovable and Okidoki fit together
Lovable builds your site from a chat, and Okidoki tells you who comes to it. Lovable can install Okidoki itself, so you never touch code.
Everything you get when you use them together.
Install it with one sentence
Lovable adds Okidoki itself. Paste the sentence into the chat, publish, and your first visitor shows up in Okidoki.
No cookie banner needed
Okidoki sets no cookies and stores nothing in the visitor’s browser, so your Lovable site needs no cookie banner for it.
Your site stays fast
The script is under 1.5 KB and loads after your page, so Lovable pages load just as fast as before.
See which campaigns work
Tag the links in your posts, ads and newsletters with the free link builder, and see which ones bring visitors, goals and sales.
Goals and funnels
Count sign-ups, purchases and button clicks, and see where people drop off. Describe a funnel in your own words and Okidoki builds it.
Questions in your own words
Ask “Where do my visitors come from?” or “Which email worked best?” and get an answer in a sentence, not a chart to decode.
Your AI agent reads the numbers
Connect ChatGPT, Claude or another agent, and ask how things are going. It reads your numbers, never your visitors.
Count ad blocker users
Serve Okidoki from your own address with one DNS record, and visitors with ad blockers are counted too.
What you see in Okidoki
A few clear numbers and plain sentences, on one page.
Visitors, day by day
How many people came, and whether it is more or fewer than before.
Where they come from
Google, ChatGPT, Instagram, newsletters and the sites that link to you.
What they read
Your most-read pages, with their real titles instead of addresses.
Who is there right now
Visitors on your site this minute, and the page they are on.
Goals reached
Sign-ups, purchases and clicks, and where they came from.
Install it right here
Do the first step on this page. Then paste what you get into Lovable, and this page tells you when the first visitor arrives.
Type your site’s address
No account and no password yet. Okidoki looks at your website and shows you the easiest way.
Copy this sentence and paste it into Lovable
We write it for you. Lovable then adds Okidoki on its own.
Add Okidoki Analytics to my site mysite.lovable.app…See your first visitor
This page updates live. If something is off, it tells you what to paste to fix it.
Step by step
The same thing, written out. Every step is a click or a paste.
- Type your site’s address on this page. That starts your free Okidoki account, and you keep it by adding your email.
- Copy the sentence you get. It is written for your site and has your own site key.
- Open your project in Lovable.
- Paste the install sentence into the chat and send it.
- When Lovable is done, press Publish at the top right, then Publish changes. Nothing goes live until you do.
- Open your published site once in a normal browser window.
Add Okidoki Analytics to my site mysite.lovable.app (only this project). Put this exact tag inside <head> on every page: <script defer data-site="ok_your_site_key" src="https://okidoki.sh/js/okidoki.js"></script> It sets no cookies, so do not add a cookie banner for it. If the site has a Content-Security-Policy, add https://okidoki.sh to its script-src and connect-src and keep everything else in it. So the tag stays when the site is rebuilt, add this line to AGENTS.md in the project root (create the file if it is missing): "Keep the Okidoki Analytics script tag in <head> on every page, and https://okidoki.sh allowed in any Content-Security-Policy." Do not change anything else. When you are done, publish or deploy the change. If you cannot, tell me exactly how I publish it.This is only an example. The yellow part is replaced by your own site key. Type your site’s address in step 1 at the top of this page, and yours shows up here, ready to copy.
Lovable only adds the tag. Nothing else on your site changes.
Get yoursAlready have an account? Sign in and yours shows up here.
Good to know on Lovable
- Lovable sites are React apps that change pages without reloading. Okidoki counts every page change on its own, so you do not need anything extra.
- Visits to the preview inside the Lovable editor are not your real site. Check the published address, like
mysite.lovable.appor your own domain. - Okidoki sets no cookies and stores nothing in the visitor’s browser, so it needs no cookie banner. If Lovable offers to add one for analytics, you can usually say no.
Let Lovable handle Okidoki for you
Connect Okidoki to the Lovable chat once. Then Lovable installs Okidoki, adds goals and reads your numbers itself whenever you ask.
- In Lovable, open Connectors, choose Add custom and then MCP server.
- Name it Okidoki, paste
https://okidoki.sh/mcp/buildas the server address and keep OAuth. - Press Connect and approve with your Okidoki passkey. There is no key to copy.
- Now ask Lovable in the chat, like “Install Okidoki on this site” or “Count the signup button as a goal”.
https://okidoki.sh/mcp/build- It works on Free. Lovable counts a button or a form right in the code. Adding goals for you is part of Plus; on Free you add them with one click in Okidoki.
- Lovable only sees numbers, never anything about a single visitor. You can remove the connection in Lovable whenever you like.
No Lovable site yet?
Lovable builds and changes your site from a chat, so it can install Okidoki for you.
Questions
Does it count every page in a Lovable app?
Yes. Lovable makes React apps that change pages without reloading. Okidoki notices each page change by itself, so every page is counted.
Why do I see no visits from the Lovable editor?
The preview inside the editor is not your real site. Okidoki counts the published address, like mysite.lovable.app, or your own domain.
Does it use up my Lovable credits?
Adding Okidoki is one small change, so it takes one message in the chat. After that it costs nothing in Lovable.
Will it slow my site down?
No. The script is under 1.5 KB and loads after your page.
Do ad blockers stop it?
Some block analytics by its address. Load Okidoki from your own address instead, with one DNS record or a small proxy, and they let it through. It still collects nothing about the person. You find it under Settings, Site settings.
Is it free?
Yes, for 3 sites. Plus is for makers with more sites and more traffic. You never need a card to start.
Can I add the code myself instead of asking Lovable?
Yes. Put the script tag from your setup page inside the head of every page. The sentence just asks your builder to do that for you.
Guides on this
How to track visitors on your website
Add a small analytics tool to the site and every visit is counted from that minute. Here is what to pick, how to install it and what you will see.
Read →Do you need a cookie banner for analytics?
Only if your analytics stores something on the visitor’s device or collects personal data. Google Analytics does both. Cookieless analytics does neither.
Read →
More integrations
Okidoki works the same way with every tool. Pick yours.
Something else? Any site works with one script tag.