Install Linqry on Webflow
To add Linqry to Webflow, paste the two-line snippet into **Site settings → Custom code → Head code**, save, and publish your site. Webflow adds it to the `<head>` of every page; custom code requires a paid Workspace or an active Site plan.
Updated · 2 min read
Install in four steps
- Add your domain to Linqry
Start a free trial, add your site's custom domain and copy the snippet from the Install page.
- Open Site settings → Custom code
In your Webflow dashboard, open the site's Site settings, then the Custom code tab.
- Paste the snippet into Head code and save
Paste both lines into the Head code field (not Footer code) and click Save changes.
<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> - Publish and check Realtime
Custom code doesn't go live until you publish. Publish to your custom domain, open the live site in a new tab, then open Realtime in Linqry. Your visit shows up in the live event stream within seconds.
Plans, preview and the staging subdomain
According to Webflow's help center, custom code is available with a paid Workspace plan (Core, Growth, Agency or Freelancer) or an active Site plan. If the Custom code fields are unavailable, that's usually why.
Custom code also runs in Webflow's preview mode, but preview doesn't happen on your domain, so Linqry rejects those events and your numbers stay clean. Every Webflow site also has a staging subdomain in the form yoursite.webflow.io. Events from it are rejected too, unless you add that hostname under Additional hosts in Linqry's site Settings. Most people leave it out so tests don't mix with real traffic.
Page-level code vs site-wide code
Each page's settings also have a custom code section, but code there only applies to that page. Keep the tracker in the site-wide Head code so every page, including CMS collection pages, is tracked, and don't add it to individual pages as well, or those pages load it twice.
Track button clicks without code
Webflow lets you add custom attributes to any element. Select a button or link, open the Element settings panel, find Custom attributes and click the plus icon. Add the name data-linqry-event and a value such as demo-requested. Each click then sends that event. You can add properties the same way, for example data-linqry-event-location with the value hero.
| Attribute name | Example value | What it does |
|---|---|---|
data-linqry-event | demo-requested | Sends an event with this name on click |
data-linqry-event-location | hero | Adds a location property to that event |
data-linqry-revenue | 4900 | Adds revenue in cents (browser revenue is capped; real payments are better sent from a server) |
For forms, the click on a submit button isn't the same as a successful submission. If your form sends people to a thank-you page, create a page-visit goal for that page instead. Then use funnels to see how many visitors get from a landing page to the thank-you page on the same day. Custom events explains naming rules and limits.
Exclude your own visits
Designers and clients check the live site constantly. In each browser you use, open the published site, open the developer console and run:
localStorage.setItem('linqry_ignore', 'true')Troubleshooting
- Nothing in Realtime? Make sure you published after saving the custom code, and that you're testing on the custom domain you registered, not
webflow.io. - Several domains? Subdomains of the registered domain, including
www, are accepted. Add unrelated domains under Additional hosts. - Using a cookie consent app? The tracker sets no cookies and stores nothing in the browser, but some consent tools block scripts by category until visitors agree. Check how yours classifies the snippet, and see the privacy model for what's collected.
Frequently asked questions
Can agencies use one Linqry account for many Webflow client sites?
Yes. Each Webflow site is a separate Linqry site with its own snippet, and you can invite clients with read-only access or share a public dashboard link.
Does Linqry work with Webflow Localization?
Yes. Webflow says code added for the primary locale is inherited by secondary locales, but once you edit a locale's own custom code field it stops inheriting, so check the snippet is still there. Locales served on another domain also need to be added under Additional hosts.
Why don't I see visits from the Designer?
Webflow's preview doesn't run on your domain, so Linqry ignores it. Only the published site counts.
Sources
- Webflow Help: Custom code in head and body tags (checked Nov 9, 2026)
- Webflow Help: Webflow staging subdomain (checked Nov 9, 2026)
- Webflow Help: Custom attributes (checked Nov 9, 2026)
- Webflow Updates: Localize custom head and body code (checked Nov 9, 2026)
Related
Add the snippet in Site Settings → Custom Code at the end of <head>, set to run once. Publish to see live visits.
Linqry lets an agency run analytics for every client from one login, with read-only dashboards that clients open without an account and roles for everyone who needs more. Each client site is billed separately at $5 a month, so the cost follows your client list.
Public read-only dashboards behind a revocable token, and five embeddable widgets for your own pages.
Build a funnel from any custom events or URL paths and see how many visitors reach each step and where they drop off.
Start measuring your Webflow site
No card required · 30-day trial · No cookies