Browse docs

Setup

Verify installation

Confirm the tracker is loaded on each of your domains and that your tracked links identify visitors correctly.

Automatic verification

The /install page does the checking for you. You'll see a green Installed badge once we've confirmed three things:

  • The LeadLens script is loading on your site.
  • The snippet uses the right key for your workspace.
  • We've received a heartbeat from your domain.

This usually clears in a few seconds after you publish. If it's been a minute or two and there's still no green badge, hard-refresh your site and try again from /install.

Quick manual checks

If verification still won't pass:

  • Is the snippet really live? Open your site in a new tab, view source, and search for tryleadlens.com/track.js. If it isn't there, the snippet hasn't deployed yet (or your platform is serving a cached version).
  • Did you paste the right snippet? Each workspace has its own data-key. Grab a fresh copy from /install.
  • Try an end-to-end click. Generate a link for yourself, click it in an incognito window, browse a couple of pages, close the tab. Within about 30 seconds you should see a new session in /people and on /live.

Common gotchas

  • CDN or page cache. Cloudflare, Vercel, WP Rocket and friends may still be serving the old version of your page without the snippet. Purge the cache after adding it.
  • Strict content security policy. If your site runs a CSP, you'll need to allow https://www.tryleadlens.com in both script-src and connect-src.
  • Single-page apps. LeadLens picks up in-app navigation automatically, so SPAs work without extra setup.