Skip to content
Install guide · Site builders

Install Linqry on Framer

To add Linqry to a Framer site, open **Site Settings**, find **Custom Code**, and paste the two-line snippet into the end-of-`<head>` slot, set to run once. Publish, and every page, including navigations between pages, is tracked.

Updated · 2 min read

Install with Custom Code

  1. Add your site to Linqry

    Start a free trial and add the domain your Framer site is published on, either your custom domain or the Framer-provided domain. Copy the snippet from the Install page.

  2. Open Site Settings → Custom Code

    In your Framer project, open Site Settings and find Custom Code. Framer offers four positions: the start or end of <head> and the start or end of <body>.

  3. Paste the snippet at the end of <head>, run once

    Paste both lines into the end-of-<head> field. If Framer asks how often to run it, choose Once rather than on every page visit (see below for why).

    <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>
  4. Publish and check Realtime

    Framer doesn't load custom code in the canvas preview, so publish the site, open the live page in a browser and click through a few pages. Realtime in Linqry shows each one in the live event stream.

Why run the snippet once

Framer can run a custom code snippet once or on every page visit. Choose once. The tracker already watches the browser's History API (pushState, replaceState and popstate), so it records each page change by itself, along with the time spent on the page being left. Running the snippet again on every visit would start a second copy of the tracker each time, and page views would be counted more than once.

If you've added code to a single page through that page's settings, it only runs there. Keep the tracker in the site-wide settings so every page is covered.

Domains: Framer domain, custom domain or both

Register whichever domain visitors use. If your site is reachable on both a Framer-provided domain and a custom domain, register the custom domain. Events from the Framer domain are then rejected, unless you add it under Additional hosts in site Settings. That's normally what you want, since search engines and visitors should end up on one canonical domain.

Clicks on links to other websites are recorded automatically as outbound events. For your own buttons, the tracker listens for clicks on any element with a data-linqry-event attribute. If you build a code component, add the attribute in its JSX:

// A Framer code component
export default function BookDemo() {
  return (
    <a href="/demo" data-linqry-event="demo-clicked" data-linqry-event-location="hero">
      Book a demo
    </a>
  );
}

For conversions that end on a page, such as a thank-you page after a form, a page-visit goal is simpler than an event: no code at all. Put goals in a funnel to see where visitors drop off before converting. Custom events lists the naming rules and limits.

Exclude your own visits

Open the published site, open the browser's developer console and run the line below. That browser stops sending events until you clear its site data:

localStorage.setItem('linqry_ignore', 'true')

Troubleshooting

  • Nothing in Realtime? Check you published after adding the code and that you're on the domain registered in Linqry. Framer's own advice for custom code also applies: open the live page and look in the browser console for loading errors.
  • Page views doubled? The snippet is probably set to run on every page visit, or added both site-wide and on a page. Set it to run once, site-wide only.
  • Consent banner on the site? The tracker sets no cookies and stores nothing in the browser. If a consent tool blocks scripts by category, check how it treats the snippet; see the privacy model.

Frequently asked questions

Why can't I see my visits while editing in Framer?

Framer doesn't load custom code in the canvas preview, so the tracker only runs on the published site.

Is there a Framer plugin for Linqry?

No. Linqry doesn't publish a Framer plugin; the site-wide custom code setting is the install.

Sources

  1. Framer Help: How to add custom code (checked Nov 9, 2026)
  2. Framer Academy: Add custom code globally or to a single page (checked Nov 9, 2026)
  3. Framer Developers: Custom code locations (checked Nov 9, 2026)
  4. Framer: Pricing (Framer domain and custom domains) (checked Nov 9, 2026)

Start measuring your Framer site

No card required · 30-day trial · No cookies