Docs

Get from zero to your first funnel

Two lines of HTML, no SDK, no build step. Works on any stack.

1 · Add the snippet

Add the two lines below before </head>. The script is ~1.5 KB gzipped, sets no cookies, and needs no consent banner. Your site ID is shown on the install screen after you add a site. The one-line stub on top queues any window.linqry(...) calls made before the script loads.

<script>window.linqry=window.linqry||function(){(window.linqry.q=window.linqry.q||[]).push(arguments)}</script>
<script defer data-website-id="YOUR_SITE_ID" data-domain="yourdomain.com" src="https://linqry.com/t.js"></script>

Page views, including SPA route changes, are captured automatically from this point.

2 · Send your first event

From JavaScript, or from any HTML element:

window.linqry('signup-completed');

<button data-linqry-event="cta-clicked">Get started</button>

Properties and revenue are optional. See custom events and revenue tracking.

3 · Build your first funnel

In the dashboard, open Funnels → New funnel and pick the steps that matter. Any custom event or URL path works, so you can build a funnel without shipping new instrumentation. You get the number of visitors at every step and the drop-off between steps, recomputed for whatever date range you pick.

4 · Verify it works

Open your site in a new tab and watch the Realtime view: your visit appears within seconds. The browser endpoint answers 204 whether or not an event was accepted, so the Realtime view is the way to confirm the installation, not the network tab.

Where next