Docs menu

Get started

Add a site

Add a website by domain or an app by bundle id or package name; which hostnames count and what the website id is.

On this page 7 sections

Add a site

  1. On the Sites screen, choose Add site or app.
  2. Enter the address people visit in Domain, such as example.com.
  3. Choose Add site or app. Setup opens.

Adding sites needs an owner or admin role (Your role cannot add sites).

Add an app

An app counts as a site in your plan and gets a Store report.

  1. On the Sites screen, choose Add site or app.
  2. Under "What are you adding?", pick Website, Apple app or Android app.
  3. Enter the Bundle id (Apple), such as com.example.app, or the Package name (Android).
  4. Apple only: App Store id (optional) can stay empty.
  5. Choose Add site or app, then connect App Store Connect or Google Play.

First data arrives within a day; recent days finish 2 to 7 days late. Each bundle id or package name fits once per workspace.

What the domain field accepts

Lundot keeps only the host: https://example.com/pricing becomes example.com.

You enter Result
example.com Accepted
https://www.example.com Accepted; www. ignored when matching
An address such as 203.0.113.7 Refused: Enter a public domain name
A host with a port or a user name Refused: Enter the domain only
A single word, such as intranet Refused: Enter a public domain name
localhost or a name ending in .local, .localhost, .internal, .lan, .home, .corp or .test Refused: Only public domains can be added.

The script sends nothing from localhost; add a public staging domain as another hostname.

Which hostnames are counted

A site counts visits with its website id only from its domain (with or without www.), its subdomains while Also accept its subdomains is on, or a host you list.

  • Also accept its subdomains is on by default. Turn it off to list subdomains one by one.
  • Add another domain, such as brand.example, as another host.
  • A wildcard such as *.preview.example.net covers every subdomain of a suffix, not the suffix. It must reach the registrable domain: *.co.uk and *.vercel.app are refused.

Swipe sideways to see the whole diagram.

A site without a domain or a hostname list, such as an app, is not checked.
The diagram as a list
  1. A visit arrives with the site's website id and the hostname of the page.
  2. Lundot lowercases the hostname, drops a trailing dot and removes a leading www.
  3. If the hostname is the site's domain, the visit counts. A subdomain counts too while Also accept its subdomains is on, which it is until you turn it off.
  4. Otherwise, if the hostname matches a host you added (an exact host, or *.suffix for its subdomains), the visit counts.
  5. Otherwise the visit is refused with a 403 and nothing is stored. Visits from localhost and preview hosts end here unless you list them.
  6. A counted visit goes on to the bot check and storage.

Change this in Site settings, Tracking, Where this site's snippet runs: type a host and choose Add (up to 20). Changes apply within a minute.

The website id

Each site has a website id (a UUID) that links the script to it as data-website-id:

<script defer src="https://your-lundot-address/script.js" data-website-id="00000000-0000-0000-0000-000000000000"></script>

Setup builds the script for you; Settings, then Connections, shows the id in the Tracking script row. The id is not a secret: the hostname check stops other sites using it.

Sites and workspaces

Each site also gets a product, hence the Product filter on the Sites screen. Your plan limits sites per workspace; see pricing.

If a site is not added

  • "Enter a domain, like example.com.": fill in Domain.
  • "That does not look like a domain.": use letters, numbers and hyphens.
  • "{domain} is already in this workspace.": open the existing site.
  • "Your plan's sites are in use": choose See plans to open Billing.
  • "Too many sites added": try again later.
  • "The site was not added": try again. If it repeats, send support the error id.

Next, install the tracking script.

  • DocsInstall the tracking script

    Add one script tag to your site's head, with notes for HTML, Next.js, WordPress, Shopify, Webflow and tag managers, then check it works.

  • DocsWorkspaces and sites

    How a Lundot workspace holds your sites, people and settings, how to add a site or an app, and how to switch between sites and workspaces.