Fix missing data by the message Lundot shows. If Setup says "Waiting for the first visit", start here.
No visits are showing
Open your site in a new tab, then check the Tracking script card in Setup, which shows the last visit. Then work down this list.
- Is the script on the page? Look for the
script.jstag in the head, withdeferanddata-website-id(anddata-privacyon a Strict or Consented site). Withoutdata-website-id, or astype="module", it sends nothing and logs a console warning. On Next.js, check the Elements panel, not the source. - Is a request being sent? In Network, reload and look for a
POSTto/api/sendon your Lundot address. None means the script did not run (see "The script does nothing"). A403or400is explained in the next section. - Is the site
consented? It counts visits before consent too, so a missing consent call does not hide visits. See Tracking script. - Is the browser automated? A headless browser or missing user agent counts as a bot, though Lundot answers
200. Test in an ordinary window. - Is
data-domainsset? The script sends only when the page's hostname is listed.
Responses from /api/send
| Response | What it means | What to do |
|---|---|---|
| 403 "The hit does not belong to this site's domain." | The host is not the site's domain, an accepted subdomain or a listed host. | Add the host under Where this site's snippet runs in the site's Site settings, or turn on Also accept its subdomains. See Add a site. |
| 403 "Refused by the site's privacy profile." | The script names a different profile from the saved one, and the hit is not allowed (such as identify on Standard). |
Copy the script again from Settings, then Connections. |
| 403 "Collection disabled" | Collection is stopped for the site, for example because it was deleted. | Check the site still exists. |
| 403 "Forbidden" | The IP address is on the server's ignore list (IGNORE_IP). |
Expected. To test, use another network. |
| 402 "Allowance exceeded" | The workspace is past its plan's allowance. | Open Settings, then Billing, and check your plan. |
| 400 "Website not found." | The website id in the script does not match a site. | Copy the script again from Setup. |
| 400 "Event data is ..." | A custom event's properties break a limit. | See Custom events. |
| 400, other | The hit is malformed, for example an event name or data-tag that starts with =, +, - or @. |
See Custom events. |
| 413 | The hit is over 64 KiB. | Send fewer properties. |
| 503 | Lundot could not read the site's settings. | Wait and reload; if it repeats, contact support. |
The script does nothing
- The script reads its own tag, so load it as an ordinary script tag, not
type="module". - Check the console for blocked requests and CSP errors. A
Content-Security-Policymust allow the Lundot address forscript-srcandconnect-src.
Replays and heatmaps are missing
"No visitor has agreed to replays yet" means the tag has not received the separate "replay" consent. Call (window.lundot ??= { consented: [] }).consented.push("replay") on every page load once your consent tool knows the choice; analytics consent and Google Consent Mode do not grant replay. See Cookies and consent.
In an ordinary browser, check in Network that recorder.js loads after the grant, then interact and look for POST /api/record returning 200 (about every 10 seconds). If not:
- Check
/api/sendworks first: the recorder needs the script's session token, which an automated browser never gets. - In the console,
lundot.replaysays what the tag decided:awaiting_consent,loaded(recording),refused_gpc(Global Privacy Control, replay not switched on by the visitor),strict,off(tag opts out of both) orother_tag(an older recorder tag records instead). Nothing means the tag is not on the page, or the page is on a local address. - Check Record replays and heatmaps in Setup or Site settings,
data-replays="off",data-heatmaps="off", the Strict profile and any content security policy blockingrecorder.jsor/api/record. - Under Global Privacy Control only the visitor's own replay switch allows replay (
window.lundot.explicitConsent); Do Not Track does not stop it. Sampling below 100% and storage limits can also leave out a consenting visit. - Widen Behaviour's date range. A heatmap needs clicks or scrolls first.
See Replays and heatmaps.
Ad blockers and privacy extensions
If your own visits are missing, visit in a private window with extensions off: if it shows up, an extension was blocking. Visitors whose blocker stops the script are not counted, and the script does not work around blockers.
Wrong domain or localhost
- You cannot add
localhost, an IP address, a single word or a name ending in.local,.localhost,.internal,.lan,.home,.corpor.test. The message is "Only public domains can be added." or "Enter a public domain name, like example.com, not an address." - The tag sends nothing from
localhost(or127.0.0.1,::1and*.localhost) and logs "Lundot: not sending from localhost", which means it is installed. To test, use a public staging domain listed under Where this site's snippet runs in Site settings (Add a site). - A site's domain covers
www.and, while Also accept its subdomains is on (the default), every subdomain. A different domain must be listed. - "{domain} is already in this workspace." means the domain was added before. Open it from the Sites screen.
Navigation in a single-page app is not counted
A navigation counts when the address changes through history.pushState, history.replaceState or popstate.
- The address must change. A route change to the same address sends nothing.
data-auto-pageview="false"turns off automatic page views. Calllundot.track()yourself on each route change.- The part after
#is never sent, so a hash router shows every route as one page. Use path routes (history mode). data-auto-track="false"stops the script starting.
Visits from AI are missing
- Under Strict, campaign tags are removed, so only the referrer host identifies a visit from AI.
data-exclude-search="true"removes campaign tags from addresses on every profile.- Many assistants send no referrer. Tag links you control with
utm_source. See Channels.
Search Console
| What you see | What to do |
|---|---|
| Connect is greyed out | The row shows the reason underneath. |
| "Your role cannot connect Search Console. Ask a workspace admin." | Ask an admin to connect it, or to give you access. |
| "This Google account cannot read a Search Console property for {domain}." | Sign in with an account that has access, or add the account or verify the domain in Search Console. |
| No property in the list | The list shows only the properties the account can read, closest match first. |
| "Waiting for the first day of search data" | The first day takes time; the page checks every minute. |
| Numbers stop a few days short | Lundot imports only final days, usually 2 to 3 days late. |
If the sheet says "Your role cannot connect Search Console. Ask a workspace admin.", use Send to someone (send the step).
Cloudflare and AI requests
- "{domain} is not served through Cloudflare, so AI requests are not available yet. Search Console and the tracking script still work." Only verified AI requests need Cloudflare.
- "Cloudflare is set up with us for now." Self-serve install is not available yet.
- "Checked 3 hours ago. No observation has arrived in the last 24 hours." The daily check failed, often because a route was removed or bypassed (for example after the free Workers allowance runs out). See the daily check.
- "Removal not finished." Some routes may still be on the zone. Choose Remove again with a new token. See Remove it.
- "Waiting for the first request." AI bots visit small sites every few hours or days.
- "We could not reach {domain}. Check the spelling, then scan again." Choose Change domain, then Scan site.
AI answers
- "Engine keys cannot be stored on this server yet." No samples run.
- "{engine} refused the key. Replace it to continue." Use Replace key; sampling stops until you do.
- "Your role cannot add engine keys." Ask someone who can edit AI reports.
Signing in
- An unconfirmed address is refused, and a fresh confirmation link is sent. The link asks for your password.
- A person gets at most 5 confirmation mails and 5 reset mails an hour.
- Owners and admins of a workspace need two-factor sign-in on to open it.
If something here does not match what you see, contact support with the error id shown on the screen.